Mercurial > hg > openttd
changeset 11053:1682d365df2c draft
(svn r15393) -Fix: little typo
author | belugas <belugas@openttd.org> |
---|---|
date | Sat, 07 Feb 2009 03:06:38 +0000 |
parents | 457ecd1afb4b |
children | da73fac03cd6 |
files | src/unmovable_cmd.cpp |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/unmovable_cmd.cpp +++ b/src/unmovable_cmd.cpp @@ -387,7 +387,7 @@ if (_settings_game.game_creation.landscape == LT_TOYLAND) return; /* add radio tower */ - int radiotowser_to_build = ScaleByMapSize(15); // maximum number of radio towers on the map + int radiotower_to_build = ScaleByMapSize(15); // maximum number of radio towers on the map int lighthouses_to_build = _settings_game.game_creation.landscape == LT_TROPIC ? 0 : ScaleByMapSize1D((Random() & 3) + 7); /* Scale the amount of lighthouses with the amount of land at the borders. */ @@ -406,7 +406,7 @@ lighthouses_to_build = lighthouses_to_build * num_water_tiles / (2 * MapMaxY() + 2 * MapMaxX() - 6); } - SetGeneratingWorldProgress(GWP_UNMOVABLE, radiotowser_to_build + lighthouses_to_build); + SetGeneratingWorldProgress(GWP_UNMOVABLE, radiotower_to_build + lighthouses_to_build); for (uint i = ScaleByMapSize(1000); i != 0; i--) { TileIndex tile = RandomTile(); @@ -417,7 +417,7 @@ MakeTransmitter(tile); IncreaseGeneratingWorldProgress(GWP_UNMOVABLE); - if (--radiotowser_to_build == 0) break; + if (--radiotower_to_build == 0) break; } }