v1.4.0: fixed an error with new flurry auto aiming

This commit is contained in:
Evan Debenham
2022-09-29 14:29:44 -04:00
parent a2f39cec47
commit f8f5dcdda4
@@ -430,7 +430,9 @@ public class SpiritBow extends Weapon {
@Override @Override
protected boolean act() { protected boolean act() {
flurryActor = this; flurryActor = this;
cast(user, QuickSlotButton.autoAim(enemy, SpiritArrow.this)); int target = QuickSlotButton.autoAim(enemy, SpiritArrow.this);
if (target == -1) target = cell;
cast(user, target);
Actor.remove(this); Actor.remove(this);
return false; return false;
} }