From 49e07a47c6ca0d45c709f890e3f3d4972000d815 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Fri, 16 Apr 2021 22:40:21 +0200 Subject: [PATCH] - now that everything is fixed, the map in Exhumed can be initiated from the console. --- source/games/exhumed/src/gameloop.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/source/games/exhumed/src/gameloop.cpp b/source/games/exhumed/src/gameloop.cpp index 625648653..d810eab56 100644 --- a/source/games/exhumed/src/gameloop.cpp +++ b/source/games/exhumed/src/gameloop.cpp @@ -217,16 +217,14 @@ void GameInterface::NewGame(MapRecord *map, int skill, bool frommenu) // start a new game on the given level InitNewGame(); if (map->levelNumber == 1) STAT_StartNewGame("Exhumed", 1); - if (frommenu) Intermission(nullptr, map); - else NextLevel(map, skill); + Intermission(nullptr, map); } void GameInterface::LevelCompleted(MapRecord *map, int skill) { Mus_Stop(); if (currentLevel->levelNumber == 0) gameaction = ga_mainmenu; - else if (ConsoleState == c_up) Intermission(currentLevel, map); - else gameaction = ga_nextlevel; + Intermission(currentLevel, map); } //---------------------------------------------------------------------------