Split G_DoCompleted into a global part and a level specific part.

This commit is contained in:
Christoph Oelckers 2019-01-29 02:39:14 +01:00
commit 1d748b72a8
5 changed files with 67 additions and 66 deletions

View file

@ -1037,9 +1037,6 @@ void G_Ticker ()
}
switch (gameaction)
{
case ga_loadlevel:
G_DoLoadLevel (-1, false, false);
break;
case ga_recordgame:
G_CheckDemoStatus();
G_RecordDemo(newdemoname);
@ -1624,7 +1621,6 @@ void FLevelLocals::DoReborn (int playernum, bool freshbot)
BackupSaveName = "";
G_InitNew (level.MapName, false);
demoplayback = indemo;
// gameaction = ga_loadlevel;
}
}
else