summaryrefslogtreecommitdiff
path: root/src/main_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-08-21 12:46:46 +0000
committerrubidium <rubidium@openttd.org>2011-08-21 12:46:46 +0000
commit37415b9cf7edaae66ca1fb35665894b9f9241127 (patch)
tree6803ebb1c7b7f42d6ede002c794347e86f11f382 /src/main_gui.cpp
parent236075e944b0d80d9e29b411f1936ba09c788c29 (diff)
downloadopenttd-37415b9cf7edaae66ca1fb35665894b9f9241127.tar.xz
(svn r22785) -Codechange: rename IsGeneratingWorld to HasModalProgress
Diffstat (limited to 'src/main_gui.cpp')
-rw-r--r--src/main_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main_gui.cpp b/src/main_gui.cpp
index e7a593c8f..793ef7750 100644
--- a/src/main_gui.cpp
+++ b/src/main_gui.cpp
@@ -282,7 +282,7 @@ struct MainWindow : Window
* generating the world, otherwise they create threading
* problem during the generating, resulting in random
* assertions that are hard to trigger and debug */
- if (IsGeneratingWorld()) return ES_NOT_HANDLED;
+ if (HasModalProgress()) return ES_NOT_HANDLED;
switch (num) {
case GHK_ABANDON: