diff options
author | frosch <frosch@openttd.org> | 2011-08-19 21:18:32 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2011-08-19 21:18:32 +0000 |
commit | b8f8cef34c1d75da025db9216a3f798ff8f74f3b (patch) | |
tree | 55a272841d0604382f716fb599bcd943adcda2b3 /src/ai/api | |
parent | a7d81956776699d87a16ebd161e94992171f1bee (diff) | |
download | openttd-b8f8cef34c1d75da025db9216a3f798ff8f74f3b.tar.xz |
(svn r22763) -Fix [FS#4702]: Clarify the meaning of AIStation::IsWithinTownInfluence(), AITile::IsWithinTownInfluence() and AITown::IsWithinTownInfluence().
Diffstat (limited to 'src/ai/api')
-rw-r--r-- | src/ai/api/ai_station.hpp | 3 | ||||
-rw-r--r-- | src/ai/api/ai_tile.hpp | 3 | ||||
-rw-r--r-- | 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 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). |