fix mask only
authornemo
Sat, 01 Dec 2012 19:57:57 -0500
changeset 8182 7834c2519070
parent 8181 70e980278080
child 8183 9b1c206a6cf2
child 8184 e0c8fad98022
fix mask only
hedgewars/uLand.pas
--- a/hedgewars/uLand.pas	Sun Dec 02 00:31:35 2012 +0100
+++ b/hedgewars/uLand.pas	Sat Dec 01 19:57:57 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;