diff options
author | frosch <frosch@openttd.org> | 2016-08-15 18:32:48 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2016-08-15 18:32:48 +0000 |
commit | 4d1843a95e26a64ff3ff0b967d721794dbf0fe46 (patch) | |
tree | 45cc7785faf095e617ca096deb1d9d7ff0cfbde6 /src/genworld_gui.cpp | |
parent | ca6493f2e638fe528107eb88d8be83815b5110b3 (diff) | |
download | openttd-4d1843a95e26a64ff3ff0b967d721794dbf0fe46.tar.xz |
(svn r27627) -Codechange: Deduplicate some cursor magic into SetMouseCursorBusy.
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 ad64ae802..741fd75d1 100644 --- a/src/genworld_gui.cpp +++ b/src/genworld_gui.cpp @@ -1190,7 +1190,7 @@ struct GenerateProgressWindow : public Window { { switch (widget) { case WID_GP_ABORT: - if (_cursor.sprite == SPR_CURSOR_ZZZ) SetMouseCursor(SPR_CURSOR_MOUSE, PAL_NONE); + SetMouseCursorBusy(false); ShowQuery( STR_GENERATION_ABORT_CAPTION, STR_GENERATION_ABORT_MESSAGE, |