hedgewars/GearDrawing.inc
changeset 4168 49ad7bea4a33
parent 4094 8bb301767c9f
child 4222 e0de341a75ab
--- a/hedgewars/GearDrawing.inc	Sun Nov 07 18:39:34 2010 +0300
+++ b/hedgewars/GearDrawing.inc	Sun Nov 07 19:24:37 2010 +0300
@@ -694,7 +694,7 @@
     x:= hwRound(Gear^.X) + WorldDx;
     y:= hwRound(Gear^.Y) + WorldDy;
     case Gear^.Kind of
-       gtAmmo_Bomb: DrawRotated(sprBomb, x, y, 0, Gear^.DirAngle);
+          gtBomb: DrawRotated(sprBomb, x, y, 0, Gear^.DirAngle);
        gtGasBomb: DrawRotated(sprCheese, x, y, 0, Gear^.DirAngle);
        gtMolotov: DrawRotated(sprMolotov, x, y, 0, Gear^.DirAngle);
 
@@ -718,7 +718,7 @@
 
         gtHedgehog: DrawHH(Gear, x, y);
 
-    gtAmmo_Grenade: DrawRotated(sprGrenade, x, y, 0, DxDy2Angle(Gear^.dY, Gear^.dX));
+           gtShell: DrawRotated(sprBazookaShell, x, y, 0, DxDy2Angle(Gear^.dY, Gear^.dX));
 
            gtGrave: begin 
                     DrawTextureF(PHedgehog(Gear^.Hedgehog)^.Team^.GraveTex, 1, x, y, (GameTicks shr 7+Gear^.uid) and 7, 1, 32, 32);