From efdb8e67d96095d21d6b4afa037bb091bd749e9c Mon Sep 17 00:00:00 2001 From: toaster Date: Wed, 23 Sep 2020 15:08:21 +0100 Subject: [PATCH] Fixes a duplicated condition which sends the player back to the title screen under advancemap next. Teeechnically does stuff for issue #91, but I'd like to take a more thorough approach later once I've got consent for a potentially radical change to this currently useless feature. --- src/g_game.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/g_game.c b/src/g_game.c index a9af2358b..551cbfbe9 100644 --- a/src/g_game.c +++ b/src/g_game.c @@ -3476,7 +3476,7 @@ static void G_DoCompleted(void) // a map of the proper gametype -- skip levels that don't support // the current gametype. (Helps avoid playing boss levels in Race, // for instance). - if (!modeattacking && grandprixinfo.gp == false && (nextmap >= 0 && nextmap < NUMMAPS)) + if (!modeattacking && grandprixinfo.gp == false) { if (nextmap >= 0 && nextmap < NUMMAPS) {