(svn r5950) -Fix: don't show Vital Windows EVER if you go to GM_MENU (tnx Darkvater)
authortruelight
Sat, 19 Aug 2006 12:01:04 +0000
changeset 4303 491076cb1ce6
parent 4302 3b0d125d5cd7
child 4304 5e26af218efd
(svn r5950) -Fix: don't show Vital Windows EVER if you go to GM_MENU (tnx Darkvater)
genworld.c
--- a/genworld.c	Sat Aug 19 11:50:34 2006 +0000
+++ b/genworld.c	Sat Aug 19 12:01:04 2006 +0000
@@ -141,7 +141,7 @@
 
 	if (_cursor.sprite == SPR_CURSOR_ZZZ) SetMouseCursor(SPR_CURSOR_MOUSE);
 	/* Show all vital windows again, because we have hidden them */
-	if (_gw.threaded) ShowVitalWindows();
+	if (_gw.threaded && _game_mode != GM_MENU) ShowVitalWindows();
 	_gw.active   = false;
 	_gw.thread   = NULL;
 	_gw.proc     = NULL;
@@ -203,7 +203,7 @@
 
 	if (_cursor.sprite == SPR_CURSOR_ZZZ) SetMouseCursor(SPR_CURSOR_MOUSE);
 	/* Show all vital windows again, because we have hidden them */
-	if (_gw.threaded) ShowVitalWindows();
+	if (_gw.threaded && _game_mode != GM_MENU) ShowVitalWindows();
 	_gw.active   = false;
 	_gw.thread   = NULL;
 	_gw.proc     = NULL;