# HG changeset patch
# User nemo
# Date 1246967762 0
# Node ID 1a0d264083243ab7a3297f48d5a8155d5a54f6d1
# Parent  cf0890ce8ea45ad0402d8a422a57a914bf36f452
Accidentally switched property in last checkin

diff -r cf0890ce8ea4 -r 1a0d26408324 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;