--- a/hedgewars/uTeams.pas Sun Jan 30 20:04:34 2011 +0100
+++ b/hedgewars/uTeams.pas Sun Jan 30 17:54:02 2011 -0500
@@ -372,7 +372,9 @@
if not hasGone then
for i:= 0 to cMaxHHIndex do
if Hedgehogs[i].Gear <> nil then
- inc(NewTeamHealthBarWidth, Hedgehogs[i].Gear^.Health);
+ inc(NewTeamHealthBarWidth, Hedgehogs[i].Gear^.Health)
+ else if Hedgehogs[i].GearHidden <> nil then
+ inc(NewTeamHealthBarWidth, Hedgehogs[i].GearHidden^.Health);
TeamHealth:= NewTeamHealthBarWidth;
if NewTeamHealthBarWidth > MaxTeamHealth then