(svn r21060) -Doc: Improved wording of comments (mostly by __ln__)

This commit is contained in:
alberth
2010-10-30 17:51:07 +00:00
parent ca8d55ebcd
commit 7e48d85104
27 changed files with 46 additions and 44 deletions

View File

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