hedgewars/uLand.pas
changeset 8183 9b1c206a6cf2
parent 8182 7834c2519070
child 8266 927da572bcdc
--- a/hedgewars/uLand.pas	Sat Dec 01 21:24:25 2012 -0500
+++ b/hedgewars/uLand.pas	Sat Dec 01 21:32:34 2012 -0500
@@ -596,7 +596,7 @@
             begin
             map:= cPathz[ptMapCurrent] + '/map.png';
             mask:= cPathz[ptMapCurrent] + '/mask.png';
-            if (not(FileExists(map)) and FileExists(mask)) then
+            if (not(pfsExists(map)) and pfsExists(mask)) then
                 begin
                 maskOnly:= true;
                 LoadMask;