diff options
author | rubidium <rubidium@openttd.org> | 2011-08-21 12:46:46 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2011-08-21 12:46:46 +0000 |
commit | 37415b9cf7edaae66ca1fb35665894b9f9241127 (patch) | |
tree | 6803ebb1c7b7f42d6ede002c794347e86f11f382 /src/main_gui.cpp | |
parent | 236075e944b0d80d9e29b411f1936ba09c788c29 (diff) | |
download | openttd-37415b9cf7edaae66ca1fb35665894b9f9241127.tar.xz |
(svn r22785) -Codechange: rename IsGeneratingWorld to HasModalProgress
Diffstat (limited to 'src/main_gui.cpp')
-rw-r--r-- | src/main_gui.cpp | 2 |
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: |