mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 03:00:46 +00:00
Fix infinite loop when requesting to open an invalid map from the command line.
git-svn-id: https://svn.eduke32.com/eduke32@6483 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
ddd94d7b92
commit
aea57fde17
1 changed files with 6 additions and 4 deletions
|
@ -6561,6 +6561,12 @@ MAIN_LOOP_RESTART:
|
|||
G_SetCrosshairColor(CrosshairColors.r, CrosshairColors.g, CrosshairColors.b);
|
||||
}
|
||||
|
||||
if (ud.warp_on == 1)
|
||||
{
|
||||
G_NewGame_EnterLevel();
|
||||
// may change ud.warp_on in an error condition
|
||||
}
|
||||
|
||||
if (ud.warp_on == 0)
|
||||
{
|
||||
if ((g_netServer || ud.multimode > 1) && boardfilename[0] != 0)
|
||||
|
@ -6596,10 +6602,6 @@ MAIN_LOOP_RESTART:
|
|||
}
|
||||
}
|
||||
}
|
||||
else if (ud.warp_on == 1)
|
||||
{
|
||||
G_NewGame_EnterLevel();
|
||||
}
|
||||
else G_UpdateScreenArea();
|
||||
|
||||
// G_GameExit(" "); ///
|
||||
|
|
Loading…
Reference in a new issue