- reset ud.eog after playing the end of game cutscene.

If this persists, all following levels will also immediately end the game as well.
This commit is contained in:
Christoph Oelckers 2020-09-27 20:33:58 +02:00
parent 3a50f82498
commit 9ab29f5975
2 changed files with 1 additions and 1 deletions

View file

@ -286,7 +286,6 @@ static bool cheatItems(int player)
static bool cheatLevel(cheatseq_t *s)
{
// Fixme: This should be broadcast as a net event once things are up again.
lastlevel = 0;
int volnume,levnume;
volnume = s->Args[0] - '0' - 1;

View file

@ -1078,6 +1078,7 @@ void exitlevel(MapRecord *nextlevel)
// Clear potentially loaded per-map ART only after the bonus screens.
artClearMapArt();
gameaction = ga_level;
ud.eog = false;
if (endofgame)
{
if (ud.multimode < 2)