# HG changeset patch
# User nemo
# Date 1329529342 18000
# Node ID c4272519b1283cd157dcd576333fd28393c186f6
# Parent  d2e95dcf2bb0d7559b7f648879272a7aa92c58fe
Experiment. This has bugged me for a long time.  Should be possible to tell a team with 1 health from a team with 0

diff -r d2e95dcf2bb0 -r c4272519b128 hedgewars/uWorld.pas
--- a/hedgewars/uWorld.pas	Fri Feb 17 23:36:05 2012 +0100
+++ b/hedgewars/uWorld.pas	Fri Feb 17 20:42:22 2012 -0500
@@ -1226,10 +1226,11 @@
 
         // draw health bars right border
         inc(r.x, cTeamHealthWidth + 2);
+        if TeamHealth = 0 then inc(r.x);
         r.w:= 3;
         DrawFromRect(TeamHealthBarWidth + 16, cScreenHeight + DrawHealthY + smallScreenOffset, @r, HealthTex);
 
-        if not highlight and not hasGone then
+        if not highlight and not hasGone and (TeamHealth > 1) then
             for i:= 0 to cMaxHHIndex do
                 if Hedgehogs[i].Gear <> nil then
                     begin