(svn r22785) -Codechange: rename IsGeneratingWorld to HasModalProgress

This commit is contained in:
rubidium
2011-08-21 12:46:46 +00:00
parent 702e983a73
commit 727580274b
9 changed files with 17 additions and 17 deletions

View File

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