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 | 5b0743d66bf73a1bbfdd95beca039283091d8d46 (patch) | |
tree | aa862fd953b81bbc7c142d763f82868807933f7e /ai_new.c | |
parent | 6fd3fc10e347695b28c8b3d1e0074b5456cd8100 (diff) | |
download | openttd-5b0743d66bf73a1bbfdd95beca039283091d8d46.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 |