(svn r27627) -Codechange: Deduplicate some cursor magic into SetMouseCursorBusy.

This commit is contained in:
frosch
2016-08-15 18:32:48 +00:00
parent ca6493f2e6
commit 4d1843a95e
5 changed files with 18 additions and 4 deletions

View File

@@ -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);