Prevent turning on invincibility/slowdown in in-game options menu

Would've been the easiest exploit ever! But I gotta patch it.
This commit is contained in:
Misa
2020-06-22 17:37:53 -07:00
committed by Ethan Lee
parent a476121432
commit caa4f0f5c9
2 changed files with 26 additions and 10 deletions

View File

@@ -7147,8 +7147,8 @@ void Game::createmenu( enum Menu::MenuName t, bool samemenu/*= false*/ )
option("animated backgrounds");
option("screen effects");
option("text outline");
option("invincibility");
option("slowdown");
option("invincibility", !ingame_titlemode || !inspecial());
option("slowdown", !ingame_titlemode || !inspecial());
option("load screen");
option("room name bg");
option("return");