summaryrefslogtreecommitdiff
path: root/src/genworld.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-02-01 15:49:12 +0000
committerrubidium <rubidium@openttd.org>2007-02-01 15:49:12 +0000
commit2a9851a3ad3ffc9bdf90afb10021587e9a9ef190 (patch)
treef20591430627ec5e32fc838089b470939051cee5 /src/genworld.cpp
parent7735c2197f21d9e32eb54dfe344202d174e1aa6a (diff)
downloadopenttd-2a9851a3ad3ffc9bdf90afb10021587e9a9ef190.tar.xz
(svn r8511) -Codechange: make WindowClass an enumerated value.
Diffstat (limited to 'src/genworld.cpp')
-rw-r--r--src/genworld.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/genworld.cpp b/src/genworld.cpp
index f67fc2a4f..dd7d42bd3 100644
--- a/src/genworld.cpp
+++ b/src/genworld.cpp
@@ -84,7 +84,7 @@ static void *_GenerateWorld(void *arg)
if (_patches.generation_seed == GENERATE_NEW_SEED) _patches.generation_seed = _patches_newgame.generation_seed = InteractiveRandom();
_random_seeds[0][0] = _random_seeds[0][1] = _patches.generation_seed;
SetGeneratingWorldProgress(GWP_MAP_INIT, 2);
- SetObjectToPlace(SPR_CURSOR_ZZZ, PAL_NONE, 0, 0, 0);
+ SetObjectToPlace(SPR_CURSOR_ZZZ, PAL_NONE, 0, WC_MAIN_WINDOW, 0);
IncreaseGeneratingWorldProgress(GWP_MAP_INIT);
// Must start economy early because of the costs.