hedgewars/GearDrawing.inc
changeset 3460 d957d5f7b58d
parent 3445 1ce844170014
child 3461 0781275649e9
--- a/hedgewars/GearDrawing.inc	Tue May 11 13:59:57 2010 +0000
+++ b/hedgewars/GearDrawing.inc	Fri May 14 16:02:27 2010 +0000
@@ -667,6 +667,8 @@
         gtHedgehog: DrawHH(Gear);
 
     gtAmmo_Grenade: DrawRotated(sprGrenade, hwRound(Gear^.X) + WorldDx, hwRound(Gear^.Y) + WorldDy, 0, DxDy2Angle(Gear^.dY, Gear^.dX));
+    
+       gtHealthTag: if Gear^.Tex <> nil then DrawCentered(hwRound(Gear^.X) + WorldDx, hwRound(Gear^.Y) + WorldDy, Gear^.Tex);
 
            gtGrave: DrawTextureF(PHedgehog(Gear^.Hedgehog)^.Team^.GraveTex, 1, hwRound(Gear^.X) + WorldDx, hwRound(Gear^.Y) + WorldDy, (GameTicks shr 7+Gear^.uid) and 7, 1, 32, 32);