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.cpp | |
parent | ca6493f2e638fe528107eb88d8be83815b5110b3 (diff) | |
download | openttd-4d1843a95e26a64ff3ff0b967d721794dbf0fe46.tar.xz |
(svn r27627) -Codechange: Deduplicate some cursor magic into SetMouseCursorBusy.
Diffstat (limited to 'src/genworld.cpp')
-rw-r--r-- | src/genworld.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/genworld.cpp b/src/genworld.cpp index 88e1b84a5..2b2dfb5fd 100644 --- a/src/genworld.cpp +++ b/src/genworld.cpp @@ -77,7 +77,7 @@ static void CleanupGeneration() { _generating_world = false; - if (_cursor.sprite == SPR_CURSOR_ZZZ) SetMouseCursor(SPR_CURSOR_MOUSE, PAL_NONE); + SetMouseCursorBusy(false); /* Show all vital windows again, because we have hidden them */ if (_gw.threaded && _game_mode != GM_MENU) ShowVitalWindows(); SetModalProgress(false); |