mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-23 01:59:43 +01:00
Gray out play modes if disabled due to enabled accessibility options
If you have invincibility mode or slowdown enabled, the game will not let you select the Secret Lab, Time Trials, or No Death Mode. To make this clearer, this commit grays out said options if they are disabled for that reason.
This commit is contained in:
parent
38d749f536
commit
cbd7ef94ba
1 changed files with 3 additions and 3 deletions
|
@ -6945,7 +6945,7 @@ void Game::createmenu( std::string t )
|
|||
//ok, secret lab! no notification, but test:
|
||||
if (unlock[8])
|
||||
{
|
||||
option("secret lab");
|
||||
option("secret lab", !map.invincibility && game.slowdown == 30);
|
||||
}
|
||||
option("play modes");
|
||||
option("new game");
|
||||
|
@ -6982,9 +6982,9 @@ void Game::createmenu( std::string t )
|
|||
}
|
||||
else if (t == "playmodes")
|
||||
{
|
||||
option("time trials");
|
||||
option("time trials", !map.invincibility && game.slowdown == 30);
|
||||
option("intermissions", unlock[16]);
|
||||
option("no death mode", unlock[17]);
|
||||
option("no death mode", unlock[17] && !map.invincibility && game.slowdown == 30);
|
||||
option("flip mode", unlock[18]);
|
||||
option("return to play menu");
|
||||
menuxoff = -70;
|
||||
|
|
Loading…
Reference in a new issue