(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

@@ -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,