From b8f8cef34c1d75da025db9216a3f798ff8f74f3b Mon Sep 17 00:00:00 2001 From: frosch Date: Fri, 19 Aug 2011 21:18:32 +0000 Subject: (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(-) (limited to 'src/ai') diff --git a/src/ai/api/ai_station.hpp b/src/ai/api/ai_station.hpp index 825c0f3ee..0faaaf147 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 17a292ae3..557305b40 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 375dd2a61..f74dc70f3 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). -- cgit v1.2.3-70-g09d2