hedgewars/uLand.pas
changeset 8183 9b1c206a6cf2
parent 8182 7834c2519070
child 8266 927da572bcdc
equal deleted inserted replaced
8151:25b95d6224fc 8183:9b1c206a6cf2
   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