fix titlescreen demos crashing, again
This commit is contained in:
1 parent
a260c390ad
commit
454311fd28
2 files changed
+7
-14
No files matched your search
+6
-7
@@ -8109,16 +8109,15 @@ boolean G_CheckDemoStatus(void)
|
||||
{
|
||||
G_ExitLevel();
|
||||
}
|
||||
else if (modeattacking && !demo.title) // nooo dont crash our titledemos
|
||||
{
|
||||
G_StopDemo();
|
||||
M_EndModeAttackRun();
|
||||
}
|
||||
else
|
||||
{
|
||||
UINT8 wasmodeattacking = modeattacking;
|
||||
|
||||
G_StopDemo();
|
||||
|
||||
if (wasmodeattacking)
|
||||
M_EndModeAttackRun();
|
||||
else
|
||||
D_StartTitle();
|
||||
D_StartTitle();
|
||||
}
|
||||
|
||||
return true;
|
||||
|
||||
+1
-7
@@ -9501,13 +9501,7 @@ static void M_ModeAttackEndGame(INT32 choice)
|
||||
Command_ExitGame_f();
|
||||
|
||||
M_StartControlPanel();
|
||||
switch(modeattacking)
|
||||
{
|
||||
default:
|
||||
case ATTACKING_RECORD:
|
||||
currentMenu = &SP_TimeAttackDef;
|
||||
break;
|
||||
}
|
||||
currentMenu = &SP_TimeAttackDef;
|
||||
itemOn = currentMenu->lastOn;
|
||||
G_SetGamestate(GS_TIMEATTACK);
|
||||
modeattacking = ATTACKING_NONE;
|
||||
|
||||
Reference in new issue
Block a user