changeset 146 | 458f4f58c1b6 |
parent 143 | 3dacbd83209b |
child 161 | d8870bbf960e |
--- 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)];