Use firepunch sprite
authorunc0rr
Wed, 21 May 2008 20:22:51 +0000
changeset 943 a0c36a0b3ad9
parent 942 b41af014d85e
child 944 9299c0ebfdbc
Use firepunch sprite
hedgewars/uGears.pas
share/hedgewars/Data/Graphics/Hedgehog.png
--- a/hedgewars/uGears.pas	Mon May 19 18:07:05 2008 +0000
+++ b/hedgewars/uGears.pas	Wed May 21 20:22:51 2008 +0000
@@ -544,8 +544,17 @@
 						1,
 						3,
 						0);
+				defaultPos:= false
 				end;
 			gtShover: DrawRotated(sprHandBaseball, hx, hy, hwSign(Gear^.dX), aangle + 180);
+			gtFirePunch: begin
+				DrawHedgehog(hwRound(Gear^.X) + 1 + WorldDx, hwRound(Gear^.Y) - 3 + WorldDy,
+						hwSign(Gear^.dX),
+						1,
+						4,
+						0);
+				defaultPos:= false
+				end;
 			gtPickHammer,
 			gtTeleport: defaultPos:= false;
 		end;
Binary file share/hedgewars/Data/Graphics/Hedgehog.png has changed