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/genworld_gui.cpp | |
parent | 236075e944b0d80d9e29b411f1936ba09c788c29 (diff) | |
download | openttd-37415b9cf7edaae66ca1fb35665894b9f9241127.tar.xz |
(svn r22785) -Codechange: rename IsGeneratingWorld to HasModalProgress
Diffstat (limited to 'src/genworld_gui.cpp')
-rw-r--r-- | src/genworld_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/genworld_gui.cpp b/src/genworld_gui.cpp index 8101a9c7b..566873528 100644 --- a/src/genworld_gui.cpp +++ b/src/genworld_gui.cpp @@ -1250,7 +1250,7 @@ static void AbortGeneratingWorldCallback(Window *w, bool confirmed) { if (confirmed) { AbortGeneratingWorld(); - } else if (IsGeneratingWorld() && !IsGeneratingWorldAborted()) { + } else if (HasModalProgress() && !IsGeneratingWorldAborted()) { SetMouseCursor(SPR_CURSOR_ZZZ, PAL_NONE); } } |