Project

General

Profile

Bug #1278 ยป patch1278.diff

Dean Brown, 04/01/2025 04:38 AM

View differences:

common/map.c
bool can_reclaim_ocean(const struct civ_map *nmap,
const struct tile *ptile)
{
int land_tiles = 100 - count_terrain_class_near_tile(nmap, ptile,
FALSE, TRUE,
TC_OCEAN);
int land_tiles = count_terrain_class_near_tile(nmap, ptile,
FALSE, TRUE, TC_LAND);
return land_tiles >= terrain_control.ocean_reclaim_requirement_pct;
}
    (1-1/1)