From 37415b9cf7edaae66ca1fb35665894b9f9241127 Mon Sep 17 00:00:00 2001 From: rubidium Date: Sun, 21 Aug 2011 12:46:46 +0000 Subject: (svn r22785) -Codechange: rename IsGeneratingWorld to HasModalProgress --- src/genworld_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/genworld_gui.cpp') 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); } } -- cgit v1.2.3-54-g00ecf