hedgewars/uGearsHedgehog.pas
changeset 13329 543ab994c9bc
parent 13219 9c81e34f1933
child 13404 3d6aae2ae698
child 13568 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