wuzzy is a spoilsport
authornemo
Fri, 13 Apr 2018 14:45:09 -0400
changeset 13329 543ab994c9bc
parent 13328 15d804dcd736
child 13330 4a713e29a4da
wuzzy is a spoilsport
hedgewars/uGearsHedgehog.pas
--- 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