hedgewars/uWorld.pas
changeset 15464 b9b48e8b5ec4
parent 15441 617f4c092e3d
--- a/hedgewars/uWorld.pas	Thu Oct 10 00:40:39 2019 +0200
+++ b/hedgewars/uWorld.pas	Fri Oct 11 13:33:56 2019 +0200
@@ -1550,9 +1550,13 @@
         end;
     end
     // in gfInvulnerable mode ...
-    else if (CurrentHedgehog^.Effects[heResurrectable] <> 0) then
-        // show halo for resurrectable hog
-        DrawSprite(sprHaloHud, (cScreenWidth div 2 - CurrentHedgehog^.HealthTagTex^.w - t - 2), i, 0);
+    else
+        begin
+        DrawSprite(sprInvulnHud, cScreenWidth div 2 - 28, i, 0);
+        if (CurrentHedgehog^.Effects[heResurrectable] <> 0) then
+            // show halo for resurrectable hog
+            DrawSprite(sprHaloHud, cScreenWidth div 2 - 30, i - SpritesData[sprHaloHud].Height + 1, 0);
+        end;
     end
 else
     cDemoClockFPSOffsetY:= 0;