1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-12-23 01:59:43 +01: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;
case 3:
//invincibility
if (!game.ingame_titlemode || !game.inspecial())
if (!game.ingame_titlemode || (!game.insecretlab && !game.intimetrial && !game.nodeathmode))
{
if (!map.invincibility)
{
@ -514,7 +514,7 @@ void menuactionpress()
break;
case 4:
//change game speed
if (!game.inspecial())
if (!game.insecretlab && !game.intimetrial && !game.nodeathmode)
{
game.createmenu(Menu::setslowdown);
map.nexttowercolour();