summaryrefslogtreecommitdiff
path: root/src/station_cmd.cpp
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2010-10-30 17:51:07 +0000
committeralberth <alberth@openttd.org>2010-10-30 17:51:07 +0000
commit7e48d85104549cbb3604aa7eb262b922dbc3f640 (patch)
tree0afba23f2fce7664320853c8deaaf293b8363e16 /src/station_cmd.cpp
parentca8d55ebcd368998aac4a46f8697a5c4585df66d (diff)
downloadopenttd-7e48d85104549cbb3604aa7eb262b922dbc3f640.tar.xz
(svn r21060) -Doc: Improved wording of comments (mostly by __ln__)
Diffstat (limited to 'src/station_cmd.cpp')
-rw-r--r--src/station_cmd.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/station_cmd.cpp b/src/station_cmd.cpp
index 8d299f1f1..cee335fc1 100644
--- a/src/station_cmd.cpp
+++ b/src/station_cmd.cpp
@@ -2139,7 +2139,7 @@ CommandCost CmdBuildAirport(TileIndex tile, DoCommandFlag flags, uint32 p1, uint
CommandCost cost = CheckFlatLand(TileArea(tile, w, h), flags);
if (cost.Failed()) return cost;
- /* Go get the final noise level, that is base noise minus factor from distance to town center */
+ /* The noise level is the noise from the airport and reduce it to account for the distance to the town center. */
Town *nearest = AirportGetNearestTown(as, tile);
uint newnoise_level = GetAirportNoiseLevelForTown(as, nearest->xy, tile);
@@ -2304,7 +2304,7 @@ static CommandCost RemoveAirport(TileIndex tile, DoCommandFlag flags)
);
}
- /* Go get the final noise level, that is base noise minus factor from distance to town center.
+ /* The noise level is the noise from the airport and reduce it to account for the distance to the town center.
* And as for construction, always remove it, even if the setting is not set, in order to avoid the
* need of recalculation */
Town *nearest = AirportGetNearestTown(as, tile);