equal
deleted
inserted
replaced
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 |