hedgewars/HHHandlers.inc
changeset 5513 79dd457193e6
parent 5511 13a222b00a9d
child 5526 70a5ec7b1020
--- a/hedgewars/HHHandlers.inc	Sun Aug 07 11:52:06 2011 -0400
+++ b/hedgewars/HHHandlers.inc	Sun Aug 07 12:06:53 2011 -0400
@@ -182,6 +182,7 @@
      if ((State and gstHHDriven) <> 0)and
         ((State and (gstAttacked or gstHHChooseTarget)) = 0) and
         (((State and gstMoving) = 0) or
+            (CurAmmoType = amTeleport) or 
             // Allow attacks while moving on ammo with AltAttack
             ((CurAmmoGear <> nil) and ((Ammoz[CurAmmoGear^.AmmoType].Ammo.Propz and ammoprop_AltAttack) <> 0)) or
             ((Ammoz[CurAmmoType].Ammo.Propz and ammoprop_AttackInMove) <> 0)) and