diff src/main_gui.cpp @ 17976:776acb0fd15e draft

(svn r22785) -Codechange: rename IsGeneratingWorld to HasModalProgress
author rubidium <rubidium@openttd.org>
date Sun, 21 Aug 2011 12:46:46 +0000 (2011-08-21)
parents 9310e39c80ce
children 5302cd55d676
line wrap: on
line diff
--- a/src/main_gui.cpp
+++ b/src/main_gui.cpp
@@ -282,7 +282,7 @@
 		 * generating the world, otherwise they create threading
 		 * problem during the generating, resulting in random
 		 * assertions that are hard to trigger and debug */
-		if (IsGeneratingWorld()) return ES_NOT_HANDLED;
+		if (HasModalProgress()) return ES_NOT_HANDLED;
 
 		switch (num) {
 			case GHK_ABANDON: