summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2009-02-07 03:06:38 +0000
committerbelugas <belugas@openttd.org>2009-02-07 03:06:38 +0000
commitb4f9cf551fe2aba146bb403605bbd80ab3af731c (patch)
tree37a6f76444c4f9a26736de006ca263c882c6360e /src
parent0abf14384c36dc980ec9441734246603de929633 (diff)
downloadopenttd-b4f9cf551fe2aba146bb403605bbd80ab3af731c.tar.xz
(svn r15393) -Fix: little typo
Diffstat (limited to 'src')
-rw-r--r--src/unmovable_cmd.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/unmovable_cmd.cpp b/src/unmovable_cmd.cpp
index c93f0180e..655f76050 100644
--- a/src/unmovable_cmd.cpp
+++ b/src/unmovable_cmd.cpp
@@ -387,7 +387,7 @@ void GenerateUnmovables()
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 @@ void GenerateUnmovables()
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 @@ void GenerateUnmovables()
MakeTransmitter(tile);
IncreaseGeneratingWorldProgress(GWP_UNMOVABLE);
- if (--radiotowser_to_build == 0) break;
+ if (--radiotower_to_build == 0) break;
}
}