mirror of
https://github.com/izzy2lost/Starship.git
synced 2026-07-05 15:19:42 -07:00
Use L to shoot Charged Shots when LToCharge is true
This commit is contained in:
@@ -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) ||
|
||||
|
||||
Reference in New Issue
Block a user