Skip to content

Commit

Permalink
- reset ud.eog after playing the end of game cutscene.
Browse files Browse the repository at this point in the history
If this persists, all following levels will also immediately end the game as well.
  • Loading branch information
coelckers committed Sep 27, 2020
1 parent 3a50f82 commit 9ab29f5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion source/games/duke/src/cheats.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 1 addition & 0 deletions source/games/duke/src/premap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 9ab29f5

Please sign in to comment.