hedgewars/uWorld.pas
changeset 7426 55b49cc1f33a
parent 7404 38a23771ee45
child 7442 9bb6abdb5675
child 7468 1333ca7554dc
--- a/hedgewars/uWorld.pas	Tue Jul 24 18:53:42 2012 -0400
+++ b/hedgewars/uWorld.pas	Wed Jul 25 10:56:14 2012 -0400
@@ -1329,7 +1329,7 @@
         r.w:= 3;
         DrawTextureFromRect(TeamHealthBarWidth + 16, cScreenHeight + DrawHealthY + smallScreenOffset, @r, HealthTex);
 
-        if not highlight and not hasGone and (TeamHealth > 1) then
+        if not highlight and (not hasGone) and (TeamHealth > 1) then
             for i:= 0 to cMaxHHIndex do
                 if Hedgehogs[i].Gear <> nil then
                     begin