From 9ab29f59755bd80048b8fa0ca91b13db22b51ee8 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sun, 27 Sep 2020 20:33:58 +0200 Subject: [PATCH] - reset ud.eog after playing the end of game cutscene. If this persists, all following levels will also immediately end the game as well. --- source/games/duke/src/cheats.cpp | 1 - source/games/duke/src/premap.cpp | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/source/games/duke/src/cheats.cpp b/source/games/duke/src/cheats.cpp index e3839dcbd52..376b76aec76 100644 --- a/source/games/duke/src/cheats.cpp +++ b/source/games/duke/src/cheats.cpp @@ -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; diff --git a/source/games/duke/src/premap.cpp b/source/games/duke/src/premap.cpp index ad93cd2dd34..06a0609be93 100644 --- a/source/games/duke/src/premap.cpp +++ b/source/games/duke/src/premap.cpp @@ -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)