hedgewars/uLand.pas
changeset 8182 7834c2519070
parent 8060 341fa76d0749
child 8266 927da572bcdc
equal deleted inserted replaced
8181:70e980278080 8182:7834c2519070
   594     if (GameFlags and gfForts) = 0 then
   594     if (GameFlags and gfForts) = 0 then
   595         if cPathz[ptMapCurrent] <> '' then
   595         if cPathz[ptMapCurrent] <> '' then
   596             begin
   596             begin
   597             map:= cPathz[ptMapCurrent] + '/map.png';
   597             map:= cPathz[ptMapCurrent] + '/map.png';
   598             mask:= cPathz[ptMapCurrent] + '/mask.png';
   598             mask:= cPathz[ptMapCurrent] + '/mask.png';
   599             if (not(FileExists(map)) and FileExists(mask)) then
   599             if (not(pfsExists(map)) and pfsExists(mask)) then
   600                 begin
   600                 begin
   601                 maskOnly:= true;
   601                 maskOnly:= true;
   602                 LoadMask;
   602                 LoadMask;
   603                 GenLandSurface
   603                 GenLandSurface
   604                 end
   604                 end