mirror of
https://github.com/HarbourMasters/Starship.git
synced 2025-01-23 05:25:01 +03:00
Use L to shoot Charged Shots when LToCharge is true
This commit is contained in:
parent
6d9b263fc1
commit
f0f1d64882
@ -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) ||
|
||||
|
Loading…
Reference in New Issue
Block a user