hedgewars/uAI.pas
changeset 2608 cebfea02f8b5
parent 2605 a40a7c90ffd8
child 2630 079ef82eac75
--- a/hedgewars/uAI.pas	Mon Nov 09 18:44:09 2009 +0000
+++ b/hedgewars/uAI.pas	Mon Nov 09 20:29:21 2009 +0000
@@ -112,7 +112,7 @@
         if a = High(TAmmoType) then a:= Low(TAmmoType)
                                else inc(a)
        until (a = aa) or
-             (CurrentHedgehog^.AttacksNum > 0) or
+             (CurrentHedgehog^.MultiShootAttacks > 0) or // shooting same weapon
              StopThinking
        end
 end;