hedgewars/GSHandlers.inc
changeset 690 e9d35e319328
parent 652 4cca0c7de609
child 762 5ecf042f6113
--- a/hedgewars/GSHandlers.inc	Sun Dec 30 16:19:41 2007 +0000
+++ b/hedgewars/GSHandlers.inc	Sun Dec 30 16:40:12 2007 +0000
@@ -923,7 +923,7 @@
 for i:= 0 to Pred(TeamsCount) do
     with thexchar[i] do
          begin
-         dec(t, team^.HealthRect.h + 2);
+         dec(t, team^.HealthSurf^.h + 2);
          ny:= t;
          dy:= dy - ny
          end;