(svn r22763) -Fix [FS#4702]: Clarify the meaning of AIStation::IsWithinTownInfluence(), AITile::IsWithinTownInfluence() and AITown::IsWithinTownInfluence().

pull/155/head
frosch 13 years ago
parent cdb6239d76
commit 3d39fa8824

@ -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.

@ -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.

@ -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).

Loading…
Cancel
Save