hedgewars/uWorld.pas
changeset 764 7513452b1d51
parent 762 5ecf042f6113
child 770 0138f1b5a804
--- a/hedgewars/uWorld.pas	Sun Jan 27 15:07:31 2008 +0000
+++ b/hedgewars/uWorld.pas	Sun Jan 27 16:49:11 2008 +0000
@@ -282,18 +282,18 @@
       r.x:= 0;
       r.y:= 0;
       r.w:= 2 + TeamHealthBarWidth;
-      r.h:= HealthSurf^.h;
+      r.h:= HealthTex^.h;
 
-//      DrawFromRect(cScreenWidth div 2,
-//                        DrawHealthY,
-//                        @r, HealthSurf, Surface);
+      DrawFromRect(cScreenWidth div 2,
+                        DrawHealthY,
+                        @r, HealthTex, Surface);
 
       inc(r.x, cTeamHealthWidth + 2);
       r.w:= 3;
 
-//      DrawFromRect(cScreenWidth div 2 + TeamHealthBarWidth + 2,
-//                        DrawHealthY,
-//                        @r, HealthSurf, Surface);
+      DrawFromRect(cScreenWidth div 2 + TeamHealthBarWidth + 2,
+                        DrawHealthY,
+                        @r, HealthTex, Surface);
       end;
 
 // Lag alert
@@ -309,7 +309,7 @@
    r.y:= 0;
    r.w:= WindBarWidth;
    r.h:= 13;
-//   DrawSpriteFromRect(sprWindR, r, cScreenWidth - 103, cScreenHeight - 28, 13, 0, Surface);
+   DrawSpriteFromRect(sprWindR, r, cScreenWidth - 103, cScreenHeight - 28, 13, 0, Surface);
    end else
  if WindBarWidth < 0 then
    begin
@@ -319,7 +319,7 @@
    r.y:= 0;
    r.w:= - WindBarWidth;
    r.h:= 13;
-//   DrawSpriteFromRect(sprWindL, r, cScreenWidth - 106 + WindBarWidth, cScreenHeight - 28, 13, 0, Surface);
+   DrawSpriteFromRect(sprWindL, r, cScreenWidth - 106 + WindBarWidth, cScreenHeight - 28, 13, 0, Surface);
    end;
 
 // AmmoMenu