hedgewars/uLand.pas
changeset 80 3c3dc6a148ca
parent 75 d2b737858ff7
child 89 f9db56409a86
--- a/hedgewars/uLand.pas	Sun Jul 16 08:13:51 2006 +0000
+++ b/hedgewars/uLand.pas	Thu Jul 20 20:11:32 2006 +0000
@@ -262,7 +262,7 @@
 var tmpsurf: PSDL_Surface;
     r: TSDL_Rect;
 begin
-tmpsurf:= LoadImage(Pathz[ptThemeCurrent] + '/LandTex', false);
+tmpsurf:= LoadImage(Pathz[ptCurrTheme] + '/LandTex', false);
 r.y:= 0;
 while r.y < 1024 do
       begin
@@ -288,7 +288,7 @@
     r, rr: TSDL_Rect;
     x, yd, yu: integer;
 begin
-tmpsurf:= LoadImage(Pathz[ptThemeCurrent] + '/Border', false);
+tmpsurf:= LoadImage(Pathz[ptCurrTheme] + '/Border', false);
 for x:= 0 to 2047 do
     begin
     yd:= 1023;