diff --git a/desktop_version/src/Game.cpp b/desktop_version/src/Game.cpp index e6e223ec..6c67a031 100644 --- a/desktop_version/src/Game.cpp +++ b/desktop_version/src/Game.cpp @@ -377,7 +377,6 @@ void Game::init(void) ingame_titlemode = false; kludge_ingametemp = Menu::mainmenu; - shouldreturntopausemenu = false; disablepause = false; } @@ -7155,7 +7154,6 @@ void Game::returntopausemenu() { obj.flags[73] = true; } - shouldreturntopausemenu = true; } void Game::unlockAchievement(const char *name) { diff --git a/desktop_version/src/Game.h b/desktop_version/src/Game.h index c41cbf47..434a0950 100644 --- a/desktop_version/src/Game.h +++ b/desktop_version/src/Game.h @@ -433,7 +433,6 @@ public: bool ingame_titlemode; - bool shouldreturntopausemenu; void returntopausemenu(); void unlockAchievement(const char *name); diff --git a/desktop_version/src/Logic.cpp b/desktop_version/src/Logic.cpp index 6adac513..6ab156e6 100644 --- a/desktop_version/src/Logic.cpp +++ b/desktop_version/src/Logic.cpp @@ -87,16 +87,6 @@ void maplogic() graphics.updatetextboxes(); graphics.updatetitlecolours(); - if (game.shouldreturntopausemenu) - { - game.shouldreturntopausemenu = false; - graphics.backgrounddrawn = false; - if (map.background == 3 || map.background == 4) - { - graphics.updatebackground(map.background); - } - } - graphics.crewframedelay--; if (graphics.crewframedelay <= 0) {