From 3d39fa8824f1db2d56d935ee4db50e09dfc97b0e Mon Sep 17 00:00:00 2001 From: frosch Date: Fri, 19 Aug 2011 21:18:32 +0000 Subject: [PATCH] (svn r22763) -Fix [FS#4702]: Clarify the meaning of AIStation::IsWithinTownInfluence(), AITile::IsWithinTownInfluence() and AITown::IsWithinTownInfluence(). --- src/ai/api/ai_station.hpp | 3 ++- src/ai/api/ai_tile.hpp | 3 ++- src/ai/api/ai_town.hpp | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/ai/api/ai_station.hpp b/src/ai/api/ai_station.hpp index 825c0f3ee3..0faaaf1471 100644 --- a/src/ai/api/ai_station.hpp +++ b/src/ai/api/ai_station.hpp @@ -117,7 +117,8 @@ public: /** * Find out if this station is within the rating influence of a town. - * Stations within the radius influence the rating of the town. + * The service quality of stations with signs within this radius + * influences the rating of the town. * @param station_id The station to check. * @param town_id The town to check. * @return True if the tile is within the rating influence of the town. diff --git a/src/ai/api/ai_tile.hpp b/src/ai/api/ai_tile.hpp index 17a292ae3e..557305b404 100644 --- a/src/ai/api/ai_tile.hpp +++ b/src/ai/api/ai_tile.hpp @@ -441,7 +441,8 @@ public: /** * Find out if this tile is within the rating influence of a town. - * Stations on this tile influence the rating of the town. + * If a station sign would be on this tile, the servicing quality of the station would + * influence the rating of the town. * @param tile The tile to check. * @param town_id The town to check. * @return True if the tile is within the rating influence of the town. diff --git a/src/ai/api/ai_town.hpp b/src/ai/api/ai_town.hpp index 375dd2a61e..f74dc70f3f 100644 --- a/src/ai/api/ai_town.hpp +++ b/src/ai/api/ai_town.hpp @@ -209,7 +209,8 @@ public: /** * Find out if this tile is within the rating influence of a town. - * Stations on this tile influence the rating of the town. + * If a station sign would be on this tile, the servicing quality of the station would + * influence the rating of the town. * @param town_id The town to check. * @param tile The tile to check. * @pre IsValidTown(town_id).