skip when attacking as well
authornemo
Sat, 05 Nov 2011 19:12:15 -0400
changeset 6293 60d7f88a7de3
parent 6292 891bf597e2dc
child 6294 34aa727d4a25
skip when attacking as well
hedgewars/HHHandlers.inc
--- a/hedgewars/HHHandlers.inc	Sat Nov 05 17:42:30 2011 -0400
+++ b/hedgewars/HHHandlers.inc	Sat Nov 05 19:12:15 2011 -0400
@@ -1131,7 +1131,7 @@
     end;
 
 if ((GameTicks mod 50) = 0) and (Gear^.Message and (gmAllStoppable or gmLJump or gmHJump) = 0) and
-   (Gear^.State and (gstHHJumping or gstHHHJump) = 0) and
+   (Gear^.State and (gstHHJumping or gstHHHJump or gstAttacking) = 0) and
    not Gear^.dY.isNegative and
    (TestCollisionYwithGear(Gear, 1) and lfIce <> 0) then
     begin