diff options
author | Celestar <Celestar@openttd.org> | 2004-12-08 15:46:13 +0000 |
---|---|---|
committer | Celestar <Celestar@openttd.org> | 2004-12-08 15:46:13 +0000 |
commit | 945ceb06fc166379a9d0ffa4dfafe68894cba9e6 (patch) | |
tree | aa862fd953b81bbc7c142d763f82868807933f7e /ai_new.c | |
parent | 932610e61256af745c96f7fa1808a459d3e627fb (diff) | |
download | openttd-945ceb06fc166379a9d0ffa4dfafe68894cba9e6.tar.xz |
(svn r979) Allow more realistically sized catchment areas
Diffstat (limited to 'ai_new.c')
-rw-r--r-- | ai_new.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -611,7 +611,8 @@ static void AiNew_State_FindStation(Player *p) { if (IS_TILETYPE(new_tile, MP_CLEAR) || IS_TILETYPE(new_tile, MP_TREES)) { // This tile we can build on! // Check acceptance - GetAcceptanceAroundTiles(accepts, new_tile, 1, 1); + // XXX - Get the catchment area + GetAcceptanceAroundTiles(accepts, new_tile, 1, 1, 4); // >> 3 == 0 means no cargo if (accepts[p->ainew.cargo] >> 3 == 0) continue; // See if we can build the station |