hedgewars/uLandObjects.pas
branchphysfslayer
changeset 8025 07862ab415c8
parent 7640 e9e6b4d740f6
child 8028 dc30104660d3
--- a/hedgewars/uLandObjects.pas	Wed Nov 14 00:41:29 2012 +0400
+++ b/hedgewars/uLandObjects.pas	Wed Nov 14 22:45:36 2012 +0400
@@ -429,9 +429,7 @@
         end
     end;
 
-s:= UserPathz[ptCurrTheme] + '/' + cThemeCFGFilename;
-if not FileExists(s) then
-    s:= Pathz[ptCurrTheme] + '/' + cThemeCFGFilename;
+s:= cPathz[ptCurrTheme] + '/' + cThemeCFGFilename;
 WriteLnToConsole('Reading objects info...');
 Assign(f, s);
 {$I-}