changeset 1184 | 852f8872da1a |
parent 1183 | 540cea859395 |
child 1185 | a17732fbaf35 |
--- a/hedgewars/uLandObjects.pas Fri Aug 08 20:33:57 2008 +0000 +++ b/hedgewars/uLandObjects.pas Fri Aug 08 20:38:26 2008 +0000 @@ -182,7 +182,9 @@ if x1 > 0 then begin Result:= true; - tmpsurf:= LoadImage(Pathz[ptGraphics] + '/Girder', false, true, true); + tmpsurf:= LoadImage(Pathz[ptCurrTheme] + '/Girder', false, false, true); + if tmpsurf = nil then LoadImage(Pathz[ptGraphics] + '/Girder', false, true, true); + rr.x:= x1; while rr.x < x2 do begin