summaryrefslogtreecommitdiff
path: root/src/landscape.cpp
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2010-01-17 22:59:24 +0000
committersmatz <smatz@openttd.org>2010-01-17 22:59:24 +0000
commit11e3a00a23148c96c497c8ba28e1f2c0583e966c (patch)
tree2b41dd3a0508339757a37cd68e4bb86083b10d40 /src/landscape.cpp
parenta271ef214bec3bcbd93f102359569c21505d220a (diff)
downloadopenttd-11e3a00a23148c96c497c8ba28e1f2c0583e966c.tar.xz
(svn r18853) -Codechange: apply coding style to GenWorld's enums, structs and typedefs
Diffstat (limited to 'src/landscape.cpp')
-rw-r--r--src/landscape.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/landscape.cpp b/src/landscape.cpp
index 3d4cd5034..68faf74b1 100644
--- a/src/landscape.cpp
+++ b/src/landscape.cpp
@@ -867,7 +867,7 @@ void GenerateLandscape(byte mode)
};
uint steps = (_settings_game.game_creation.landscape == LT_TROPIC) ? GLS_TROPIC : GLS_OTHER;
- if (mode == GW_HEIGHTMAP) {
+ if (mode == GWM_HEIGHTMAP) {
SetGeneratingWorldProgress(GWP_LANDSCAPE, steps + GLS_HEIGHTMAP);
LoadHeightmap(_file_to_saveload.name);
IncreaseGeneratingWorldProgress(GWP_LANDSCAPE);