From e42b27b4f909a07cad40a6df859dddee21099d49 Mon Sep 17 00:00:00 2001 From: Sonic Dreamcaster Date: Mon, 9 Dec 2024 03:05:14 -0300 Subject: [PATCH] JumpToAllRange cheat check --- src/engine/fox_display.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/fox_display.c b/src/engine/fox_display.c index 48c8f25d..847464a3 100644 --- a/src/engine/fox_display.c +++ b/src/engine/fox_display.c @@ -2105,7 +2105,7 @@ void Display_Update(void) { if (CVarGetInteger("gDebugJumpToAllRange", 0) == 1) { Player* pl2 = &gPlayer[0]; - if (gControllerPress[0].button & L_TRIG) { + if ((gLevelMode != LEVELMODE_ALL_RANGE) && (gControllerPress[0].button & L_TRIG)) { pl2->state_1C8 = PLAYERSTATE_1C8_START_360; } }