mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-23 10:09:43 +01:00
Use game.inspecial() in mapmenuactionpress()
Apart from covering more cases with the SHIP option, it also makes the if-guard for case 3 much less noisy on the eyes.
This commit is contained in:
parent
949e99c950
commit
4274843a4b
1 changed files with 2 additions and 3 deletions
|
@ -1999,7 +1999,7 @@ void mapmenuactionpress()
|
|||
switch (game.menupage)
|
||||
{
|
||||
case 1:
|
||||
if (obj.flags[67] && !game.insecretlab && !map.custommode)
|
||||
if (obj.flags[67] && !game.inspecial() && !map.custommode)
|
||||
{
|
||||
//Warp back to the ship
|
||||
graphics.resumegamemode = true;
|
||||
|
@ -2024,8 +2024,7 @@ void mapmenuactionpress()
|
|||
}
|
||||
break;
|
||||
case 3:
|
||||
if (!game.gamesaved && !game.intimetrial
|
||||
&& !game.nodeathmode && !game.insecretlab && !game.inintermission)
|
||||
if (!game.gamesaved && !game.inspecial())
|
||||
{
|
||||
game.flashlight = 5;
|
||||
game.screenshake = 10;
|
||||
|
|
Loading…
Reference in a new issue