From f0f1d648828379c3d1c434e70dfcca4cfe6a5048 Mon Sep 17 00:00:00 2001 From: Kiloku Date: Sun, 19 Jan 2025 09:28:09 -0300 Subject: [PATCH] Use L to shoot Charged Shots when LToCharge is true --- src/engine/fox_play.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/fox_play.c b/src/engine/fox_play.c index 0bffddad..df77f166 100644 --- a/src/engine/fox_play.c +++ b/src/engine/fox_play.c @@ -3367,7 +3367,7 @@ bool Player_UpdateLockOn(Player* player) { } } - if (gInputPress->button & A_BUTTON) { + if (gInputPress->button & (CVarGetInteger("gLtoCharge", 0) == 1 ? L_TRIG : A_BUTTON)) { for (i = 0; i < ARRAY_COUNT(gActors); i++) { if ((gActors[i].obj.status == OBJ_ACTIVE) && (gActors[i].lockOnTimers[player->num] != 0)) { if ((gPlayerShots[14 - player->num].obj.status == SHOT_FREE) ||