mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2025-01-24 09:49:46 +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:
parent
d997fae27a
commit
5759408ded
3 changed files with 0 additions and 13 deletions
|
@ -377,7 +377,6 @@ void Game::init(void)
|
||||||
|
|
||||||
ingame_titlemode = false;
|
ingame_titlemode = false;
|
||||||
kludge_ingametemp = Menu::mainmenu;
|
kludge_ingametemp = Menu::mainmenu;
|
||||||
shouldreturntopausemenu = false;
|
|
||||||
|
|
||||||
disablepause = false;
|
disablepause = false;
|
||||||
}
|
}
|
||||||
|
@ -7155,7 +7154,6 @@ void Game::returntopausemenu()
|
||||||
{
|
{
|
||||||
obj.flags[73] = true;
|
obj.flags[73] = true;
|
||||||
}
|
}
|
||||||
shouldreturntopausemenu = true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void Game::unlockAchievement(const char *name) {
|
void Game::unlockAchievement(const char *name) {
|
||||||
|
|
|
@ -433,7 +433,6 @@ public:
|
||||||
|
|
||||||
bool ingame_titlemode;
|
bool ingame_titlemode;
|
||||||
|
|
||||||
bool shouldreturntopausemenu;
|
|
||||||
void returntopausemenu();
|
void returntopausemenu();
|
||||||
void unlockAchievement(const char *name);
|
void unlockAchievement(const char *name);
|
||||||
|
|
||||||
|
|
|
@ -87,16 +87,6 @@ void maplogic()
|
||||||
graphics.updatetextboxes();
|
graphics.updatetextboxes();
|
||||||
graphics.updatetitlecolours();
|
graphics.updatetitlecolours();
|
||||||
|
|
||||||
if (game.shouldreturntopausemenu)
|
|
||||||
{
|
|
||||||
game.shouldreturntopausemenu = false;
|
|
||||||
graphics.backgrounddrawn = false;
|
|
||||||
if (map.background == 3 || map.background == 4)
|
|
||||||
{
|
|
||||||
graphics.updatebackground(map.background);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
graphics.crewframedelay--;
|
graphics.crewframedelay--;
|
||||||
if (graphics.crewframedelay <= 0)
|
if (graphics.crewframedelay <= 0)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue