From 5b0743d66bf73a1bbfdd95beca039283091d8d46 Mon Sep 17 00:00:00 2001 From: Celestar Date: Wed, 8 Dec 2004 15:46:13 +0000 Subject: (svn r979) Allow more realistically sized catchment areas --- ai_new.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ai_new.c') diff --git a/ai_new.c b/ai_new.c index 79c503b71..ba335196a 100644 --- a/ai_new.c +++ b/ai_new.c @@ -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 -- cgit v1.2.3-54-g00ecf