(svn r5950) -Fix: don't show Vital Windows EVER if you go to GM_MENU (tnx Darkvater)

This commit is contained in:
truelight 2006-08-19 12:01:04 +00:00
parent f0db352984
commit d0c21a1ea7
1 changed files with 2 additions and 2 deletions

View File

@ -141,7 +141,7 @@ static void *_GenerateWorld(void *arg)
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 @@ void HandleGeneratingWorldAbortion(void)
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;