1
0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-06-28 15:38:30 +02:00

Allow toggling invincibility/slowdown in intermission replays

inspecial() includes being in intermission replays, but it's not
necessary to disable invincibility/slowdown for them.
This commit is contained in:
Misa 2020-06-22 22:55:59 -07:00 committed by Ethan Lee
parent 65f84b15f4
commit a3f171b018

View File

@ -493,7 +493,7 @@ void menuactionpress()
break; break;
case 3: case 3:
//invincibility //invincibility
if (!game.ingame_titlemode || !game.inspecial()) if (!game.ingame_titlemode || (!game.insecretlab && !game.intimetrial && !game.nodeathmode))
{ {
if (!map.invincibility) if (!map.invincibility)
{ {
@ -514,7 +514,7 @@ void menuactionpress()
break; break;
case 4: case 4:
//change game speed //change game speed
if (!game.inspecial()) if (!game.insecretlab && !game.intimetrial && !game.nodeathmode)
{ {
game.createmenu(Menu::setslowdown); game.createmenu(Menu::setslowdown);
map.nexttowercolour(); map.nexttowercolour();