mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 09:28:15 +03:00
Remove Game::shouldreturntopausemenu
This kludge variable was used to re-set the warp background after coming back from the in-game settings menus. But since #522 got merged, this has no longer been necessary.
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -433,7 +433,6 @@ public:
|
||||
|
||||
bool ingame_titlemode;
|
||||
|
||||
bool shouldreturntopausemenu;
|
||||
void returntopausemenu();
|
||||
void unlockAchievement(const char *name);
|
||||
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user