Fix hedgehog animation when use blowtorch
authorunc0rr
Sun, 27 Jul 2008 14:59:34 +0000
changeset 1113 d63a3567a6fe
parent 1112 11590c68b68e
child 1114 3f4e468d4e5a
Fix hedgehog animation when use blowtorch
hedgewars/uGears.pas
share/hedgewars/Data/Graphics/Hedgehog.png
--- a/hedgewars/uGears.pas	Sun Jul 27 14:32:54 2008 +0000
+++ b/hedgewars/uGears.pas	Sun Jul 27 14:59:34 2008 +0000
@@ -657,8 +657,8 @@
 				DrawRotated(sprBlowTorch, hx, hy, hwSign(Gear^.dX), aangle);
 				DrawHedgehog(hwRound(Gear^.X) + 1 + WorldDx, hwRound(Gear^.Y) - 3 + WorldDy,
 						hwSign(Gear^.dX),
-						1,
 						3,
+						PHedgehog(Gear^.Hedgehog)^.visStepPos div 2,
 						0);
 				defaultPos:= false
 				end;
Binary file share/hedgewars/Data/Graphics/Hedgehog.png has changed