mirror of
https://gitlab.com/dosowisko.net/libsuperderpy.git
synced 2024-12-05 00:38:00 +01:00
fix missing loading screens with static gamestates
This commit is contained in:
parent
63e5210796
commit
5a437a27bf
1 changed files with 3 additions and 1 deletions
|
@ -404,7 +404,9 @@ SYMBOL_EXPORT int libsuperderpy_start(struct Game* game) {
|
|||
#endif
|
||||
while (tmp) {
|
||||
// don't show loading screen on init if requested
|
||||
tmp->show_loading = game->_priv.params.show_loading_on_launch;
|
||||
if (tmp->pending_load) {
|
||||
tmp->show_loading = game->_priv.params.show_loading_on_launch;
|
||||
}
|
||||
#ifdef LIBSUPERDERPY_STATIC_GAMESTATES
|
||||
if (tmp->next && strcmp(tmp->next->name, "loading") == 0) {
|
||||
game->_priv.loading.gamestate = tmp->next;
|
||||
|
|
Loading…
Reference in a new issue