hedgewars/GSHandlers.inc
changeset 764 7513452b1d51
parent 762 5ecf042f6113
child 776 8fc7e59d9cb4
--- a/hedgewars/GSHandlers.inc	Sun Jan 27 15:07:31 2008 +0000
+++ b/hedgewars/GSHandlers.inc	Sun Jan 27 16:49:11 2008 +0000
@@ -923,11 +923,11 @@
 for i:= 0 to Pred(TeamsCount) do
     with thexchar[i] do
          begin
-         dec(t, team^.HealthSurf^.h + 2);
+         dec(t, team^.HealthTex^.h + 2);
          ny:= t;
          dy:= dy - ny
          end;
-         
+
 Gear^.Timer:= cSorterWorkTime;
 Gear^.doStep:= @doStepTeamHealthSorterWork;
 currsorter:= Gear