hedgewars/GearDrawing.inc
changeset 3717 d88719b0f0dc
parent 3713 f8778904600d
child 3751 a70c61c076ae
--- a/hedgewars/GearDrawing.inc	Tue Aug 03 12:52:21 2010 +0100
+++ b/hedgewars/GearDrawing.inc	Tue Aug 03 14:19:47 2010 +0200
@@ -264,6 +264,15 @@
                         0);
                 defaultPos:= false
                 end;
+            gtHammer: begin
+                DrawRotatedF(sprHammer,
+                        sx,
+                        sy,
+                        1,
+                        hwSign(Gear^.dX),
+                        0);
+                defaultPos:= false
+                end;
             gtKamikaze: begin
                 if CurAmmoGear^.Pos = 0 then
                     DrawHedgehog(sx, sy,
@@ -439,6 +448,12 @@
                         0,
                         hwSign(Gear^.dX),
                         0);
+            amHammer: DrawRotatedF(sprHammer,
+                        sx,
+                        sy,
+                        0,
+                        hwSign(Gear^.dX),
+                        0);
         else
             DrawHedgehog(sx, sy,
                 hwSign(Gear^.dX),