mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-03-03 07:21:05 +00:00
game.cpp: move check for quitevent during start-up so that if start-up is cancelled during definitions parsing, the game won't continue to play in a half-loaded state.
git-svn-id: https://svn.eduke32.com/eduke32@7900 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
90568878a5
commit
091a2961ab
1 changed files with 2 additions and 2 deletions
|
@ -6457,8 +6457,6 @@ int app_main(int argc, char const * const * argv)
|
|||
i = 1-i;
|
||||
}
|
||||
|
||||
if (quitevent) return 4;
|
||||
|
||||
Anim_Init();
|
||||
|
||||
const char *defsfile = G_DefFile();
|
||||
|
@ -6567,6 +6565,8 @@ int app_main(int argc, char const * const * argv)
|
|||
|
||||
system_getcvars();
|
||||
|
||||
if (quitevent) return 4;
|
||||
|
||||
if (g_networkMode != NET_DEDICATED_SERVER)
|
||||
{
|
||||
if (videoSetGameMode(ud.setup.fullscreen, ud.setup.xdim, ud.setup.ydim, ud.setup.bpp, ud.detail) < 0)
|
||||
|
|
Loading…
Reference in a new issue