1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2025-01-08 18:09:45 +01: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:
Misa 2020-11-07 13:17:32 -08:00 committed by Ethan Lee
parent d997fae27a
commit 5759408ded
3 changed files with 0 additions and 13 deletions

View file

@ -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) {

View file

@ -433,7 +433,6 @@ public:
bool ingame_titlemode;
bool shouldreturntopausemenu;
void returntopausemenu();
void unlockAchievement(const char *name);

View file

@ -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)
{