summaryrefslogtreecommitdiff
path: root/src/genworld.cpp
diff options
context:
space:
mode:
authortruebrain <truebrain@openttd.org>2011-12-19 20:50:21 +0000
committertruebrain <truebrain@openttd.org>2011-12-19 20:50:21 +0000
commit561b25d0319674716b51d63594e146132d0a33e3 (patch)
tree9329a875bcf71cf40becc5b8a254db8ddfdcf05e /src/genworld.cpp
parentbcbdc3933c4aeff90692a1059375b1f590e7c904 (diff)
downloadopenttd-561b25d0319674716b51d63594e146132d0a33e3.tar.xz
(svn r23601) -Fix: fix the conflict in window number
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 beb9059b2..e450aa2b9 100644
--- a/src/genworld.cpp
+++ b/src/genworld.cpp
@@ -83,7 +83,7 @@ static void CleanupGeneration()
_gw.abortp = NULL;
_gw.threaded = false;
- DeleteWindowById(WC_MODAL_PROGRESS, 0);
+ DeleteWindowByClass(WC_MODAL_PROGRESS);
ShowFirstError();
MarkWholeScreenDirty();
}