move rendering to fix 4368:3698361802ed
authornemo
Sun, 21 Nov 2010 08:42:41 -0500
changeset 4394 c1f2ca416ea8
parent 4392 95e27e12d0e9
child 4395 54dedd218dde
move rendering to fix 4368:3698361802ed
hedgewars/uGearsRender.pas
--- a/hedgewars/uGearsRender.pas	Sun Nov 21 01:26:31 2010 -0500
+++ b/hedgewars/uGearsRender.pas	Sun Nov 21 08:42:41 2010 -0500
@@ -797,6 +797,9 @@
             end;
         if (Gear^.State and gstHHDriven) <> 0 then // Current hedgehog
             begin
+            if (CurAmmoGear <> nil) and (CurAmmoGear^.Kind = gtResurrector) then
+                DrawCentered(ox, sy - cHHRadius - 7 - HealthTagTex^.h, HealthTagTex);
+
             if bShowFinger and ((Gear^.State and gstHHDriven) <> 0) then
                 DrawSprite(sprFinger, ox - 16, oy - 64,
                             GameTicks div 32 mod 16);