mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2025-01-24 09:49:46 +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);
|
returntomenu(Menu::levellist);
|
||||||
}
|
}
|
||||||
else if (game.telesummary != "" || game.quicksummary != "" || anything_unlocked())
|
else if (telesummary != "" || quicksummary != "" || anything_unlocked())
|
||||||
{
|
{
|
||||||
returntomenu(Menu::play);
|
returntomenu(Menu::play);
|
||||||
}
|
}
|
||||||
|
@ -7036,7 +7036,7 @@ void Game::createmenu( enum Menu::MenuName t, bool samemenu/*= false*/ )
|
||||||
//ok, secret lab! no notification, but test:
|
//ok, secret lab! no notification, but test:
|
||||||
if (unlock[8])
|
if (unlock[8])
|
||||||
{
|
{
|
||||||
option("secret lab", !map.invincibility && game.slowdown == 30);
|
option("secret lab", !map.invincibility && slowdown == 30);
|
||||||
}
|
}
|
||||||
option("play modes");
|
option("play modes");
|
||||||
if (telesummary != "" || quicksummary != "")
|
if (telesummary != "" || quicksummary != "")
|
||||||
|
@ -7074,9 +7074,9 @@ void Game::createmenu( enum Menu::MenuName t, bool samemenu/*= false*/ )
|
||||||
menuyoff = 64;
|
menuyoff = 64;
|
||||||
break;
|
break;
|
||||||
case Menu::playmodes:
|
case Menu::playmodes:
|
||||||
option("time trials", !map.invincibility && game.slowdown == 30);
|
option("time trials", !map.invincibility && slowdown == 30);
|
||||||
option("intermissions", unlock[16]);
|
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("flip mode", unlock[18]);
|
||||||
option("return to play menu");
|
option("return to play menu");
|
||||||
menuxoff = -70;
|
menuxoff = -70;
|
||||||
|
|
Loading…
Add table
Reference in a new issue