Accidentally switched property in last checkin
authornemo
Tue, 07 Jul 2009 11:56:02 +0000
changeset 2238 1a0d26408324
parent 2237 cf0890ce8ea4
child 2239 d7b5c65f7544
Accidentally switched property in last checkin
hedgewars/HHHandlers.inc
--- a/hedgewars/HHHandlers.inc	Tue Jul 07 01:57:30 2009 +0000
+++ b/hedgewars/HHHandlers.inc	Tue Jul 07 11:56:02 2009 +0000
@@ -110,7 +110,7 @@
         (((State and gstMoving) = 0) or 
             // Allow attacks while moving on ammo with AltAttack
             ((CurAmmoGear <> nil) and ((CurAmmoGear^.Ammo^.Propz and ammoprop_AltAttack) <> 0)) or 
-            ((Ammo^[CurSlot, CurAmmo].Propz and ammoprop_AltAttack) <> 0)) and
+            ((Ammo^[CurSlot, CurAmmo].Propz and ammoprop_AttackInMove) <> 0)) and
         ((TargetPoint.X <> NoPointX) or ((Ammo^[CurSlot, CurAmmo].Propz and ammoprop_NeedTarget) = 0)) then
         begin
         State:= State or gstAttacking;