mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2025-01-08 18:09:45 +01:00
Remove unnecessary 'game.' qualifiers in Game.cpp
No need to refer to the class global name if we're already in the class itself.
This commit is contained in:
parent
85f851bc17
commit
047d71840b
1 changed files with 4 additions and 4 deletions
|
@ -1357,7 +1357,7 @@ void Game::updatestate()
|
|||
{
|
||||
returntomenu(Menu::levellist);
|
||||
}
|
||||
else if (game.telesummary != "" || game.quicksummary != "" || anything_unlocked())
|
||||
else if (telesummary != "" || quicksummary != "" || anything_unlocked())
|
||||
{
|
||||
returntomenu(Menu::play);
|
||||
}
|
||||
|
@ -7036,7 +7036,7 @@ void Game::createmenu( enum Menu::MenuName t, bool samemenu/*= false*/ )
|
|||
//ok, secret lab! no notification, but test:
|
||||
if (unlock[8])
|
||||
{
|
||||
option("secret lab", !map.invincibility && game.slowdown == 30);
|
||||
option("secret lab", !map.invincibility && slowdown == 30);
|
||||
}
|
||||
option("play modes");
|
||||
if (telesummary != "" || quicksummary != "")
|
||||
|
@ -7074,9 +7074,9 @@ void Game::createmenu( enum Menu::MenuName t, bool samemenu/*= false*/ )
|
|||
menuyoff = 64;
|
||||
break;
|
||||
case Menu::playmodes:
|
||||
option("time trials", !map.invincibility && game.slowdown == 30);
|
||||
option("time trials", !map.invincibility && slowdown == 30);
|
||||
option("intermissions", unlock[16]);
|
||||
option("no death mode", unlock[17] && !map.invincibility && game.slowdown == 30);
|
||||
option("no death mode", unlock[17] && !map.invincibility && slowdown == 30);
|
||||
option("flip mode", unlock[18]);
|
||||
option("return to play menu");
|
||||
menuxoff = -70;
|
||||
|
|
Loading…
Reference in a new issue