hedgewars/uLandObjects.pas
changeset 1185 a17732fbaf35
parent 1184 852f8872da1a
child 1186 bf5af791d234
--- a/hedgewars/uLandObjects.pas	Fri Aug 08 20:38:26 2008 +0000
+++ b/hedgewars/uLandObjects.pas	Fri Aug 08 20:45:13 2008 +0000
@@ -183,7 +183,7 @@
 	begin
 	Result:= true;
 	tmpsurf:= LoadImage(Pathz[ptCurrTheme] + '/Girder', false, false, true);
-	if tmpsurf = nil then LoadImage(Pathz[ptGraphics] + '/Girder', false, true, true);
+	if tmpsurf = nil then tmpsurf:= LoadImage(Pathz[ptGraphics] + '/Girder', false, true, true);
 	
 	rr.x:= x1;
 	while rr.x < x2 do