diff -r e593d5266e01 -r 458f4f58c1b6 hedgewars/GSHandlers.inc --- a/hedgewars/GSHandlers.inc Thu Sep 14 17:20:50 2006 +0000 +++ b/hedgewars/GSHandlers.inc Fri Sep 15 13:47:01 2006 +0000 @@ -779,7 +779,7 @@ thexchcnt:= i; for i:= 1 to thexchcnt do for t:= 0 to thexchcnt - 2 do - if thexchar[t].team.TeamHealth > thexchar[Succ(t)].team.TeamHealth then + if thexchar[t].team.TeamHealthBarWidth > thexchar[Succ(t)].team.TeamHealthBarWidth then begin thexchar[5]:= thexchar[t]; thexchar[t]:= thexchar[Succ(t)];