mirror of
https://gitlab.com/dosowisko.net/libsuperderpy.git
synced 2024-12-05 00:38:00 +01:00
ReloadGamestates: also reload loading gamestate
This commit is contained in:
parent
0ba9c7bbae
commit
199ad64bac
1 changed files with 3 additions and 0 deletions
|
@ -121,6 +121,9 @@ SYMBOL_INTERNAL void ReloadGamestates(struct Game* game) {
|
|||
}
|
||||
tmp = tmp->next;
|
||||
}
|
||||
if (game->_priv.loading.gamestate->api->reload) {
|
||||
game->_priv.loading.gamestate->api->reload(game, game->_priv.loading.gamestate->data);
|
||||
}
|
||||
}
|
||||
|
||||
SYMBOL_INTERNAL void EventGamestates(struct Game* game, ALLEGRO_EVENT* ev) {
|
||||
|
|
Loading…
Reference in a new issue