# HG changeset patch
# User sheepluva
# Date 1320005987 -3600
# Node ID 23801d8b83d5be4e427ac7b0269167567ba376d9
# Parent  9777d802be1a943c8f298ded46ea4473af8280b2
don't let forced hog movement (with no damage) suspend/halt shot charging
this also caused frozen turns in combination with bee, as reported by Djrulz1

diff -r 9777d802be1a -r 23801d8b83d5 hedgewars/HHHandlers.inc
--- a/hedgewars/HHHandlers.inc	Sun Oct 30 17:56:19 2011 +0100
+++ b/hedgewars/HHHandlers.inc	Sun Oct 30 21:19:47 2011 +0100
@@ -181,6 +181,7 @@
      if ((State and gstHHDriven) <> 0)and
         ((State and (gstAttacked or gstHHChooseTarget)) = 0) and
         (((State and gstMoving) = 0) or
+            (Power > 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