hedgewars/uLandObjects.pas
changeset 35 9367f246fb5f
parent 30 794e98e11b66
child 51 b6e3ae05857f
--- a/hedgewars/uLandObjects.pas	Wed Dec 28 23:34:22 2005 +0000
+++ b/hedgewars/uLandObjects.pas	Sat Dec 31 13:45:09 2005 +0000
@@ -152,7 +152,7 @@
 if x1 > 0 then
    begin
    Result:= true;
-   tmpsurf:= LoadImage(Pathz[ptGraphics] + 'Girder.png');
+   tmpsurf:= LoadImage(Pathz[ptGraphics] + 'Girder.png', false);
    rr.x:= x1;
    rr.y:= y;
    while rr.x + 100 < x2 do
@@ -271,7 +271,7 @@
     Readln(f, s); // filename
     with ThemeObjects[i] do
          begin
-         Surf:= LoadImage(Pathz[ptThemeCurrent] + s + '.png');
+         Surf:= LoadImage(Pathz[ptThemeCurrent] + s + '.png', false);
          Read(f, Width, Height);
          with inland do Read(f, x, y, w, h);
          Read(f, rectcnt);