From 530debd24b25633249caffd8a250c8c874bdfc94 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sun, 26 Jul 2020 21:28:42 +0200 Subject: [PATCH] - properly increment the instruction pointer in 'endofgame'. This made the bosses disappear after death, fixes #38 --- source/games/duke/src/gameexec.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/source/games/duke/src/gameexec.cpp b/source/games/duke/src/gameexec.cpp index 1e43dc797..82f553fc3 100644 --- a/source/games/duke/src/gameexec.cpp +++ b/source/games/duke/src/gameexec.cpp @@ -670,6 +670,7 @@ int ParseState::parse(void) insptr++; break; case concmd_endofgame: + insptr++; ps[g_p].timebeforeexit = *insptr; ps[g_p].customexitsound = -1; ud.eog = 1;