1
0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-06-25 05:58: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;
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();