(svn r23452) -Codechange: document instead of writing to stderr that ScriptStation::GetCoverageRadius doesn't work for STATION_AIRPORT
This commit is contained in:
@@ -89,7 +89,9 @@ public:
|
||||
/**
|
||||
* Get the coverage radius of this type of station.
|
||||
* @param station_type The type of station.
|
||||
* @pre station_type != STATION_AIRPORT.
|
||||
* @return The radius in tiles.
|
||||
* @note Coverage radius of airports needs to be requested via ScriptAirport::GetAirportCoverageRadius(), as it requires AirportType.
|
||||
*/
|
||||
static int32 GetCoverageRadius(ScriptStation::StationType station_type);
|
||||
|
||||
|
Reference in New Issue
Block a user