Revert "Refactor DemoLoop"

This reverts commit 0ba7501508.
This commit is contained in:
twinaphex 2016-03-24 00:55:47 +01:00
parent 1fd0d20c28
commit b6fb570316

View File

@ -1280,7 +1280,7 @@ static int DemoLoop(unsigned id)
gamestate.episode = param_tedlevel/10;
gamestate.mapon %= 10;
#endif
break;
return JE_LOOP2;
}
/* main game cycle */
@ -1383,6 +1383,9 @@ static int DemoLoop(unsigned id)
else
#endif
US_ControlPanel (0);
if (startgame || loadedgame)
return JE_LOOP2;
break;
case JE_LOOP2:
id = GameLoop();