hedgewars/uGearsHedgehog.pas
changeset 13324 543ab994c9bc
parent 13214 9c81e34f1933
child 13399 3d6aae2ae698
child 13563 5a1e4796e431
--- a/hedgewars/uGearsHedgehog.pas	Fri Apr 13 20:35:35 2018 +0200
+++ b/hedgewars/uGearsHedgehog.pas	Fri Apr 13 14:45:09 2018 -0400
@@ -1470,7 +1470,7 @@
 var slope: hwFloat;
 begin
     if (Gear^.Message and (gmAllStoppable or gmLJump or gmHJump) = 0)
-    and (Gear^.State and (gstHHJumping or gstHHHJump or gstAttacking) = 0)
+    and (Gear^.State and (gstHHJumping or gstHHHJump or gstAttacking or gstAnimation) = 0)
     and ((Gear^.Hedgehog = nil) or ((Gear^.Hedgehog^.Effects[heFrozen] = 0) or (Gear^.Hedgehog^.Effects[heFrozen] > 255)))
     and (not Gear^.dY.isNegative) and TurnClockActive and (TestCollisionYwithGear(Gear, 1) and lfIce <> 0) then
         begin