Fixes Quit (F10) during the intro to exit to main menu; bug #862

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2354 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
avolkov
2006-05-05 23:15:07 +00:00
parent 02d82caa35
commit 05e0cd7467
+4
View File
@@ -379,6 +379,8 @@ TryStartGame (void)
BOOLEAN
StartGame (void)
{
do
{
while (!TryStartGame ())
{
if (GLOBAL (CurrentActivity) == (ACTIVITY)~0)
@@ -397,6 +399,8 @@ StartGame (void)
Introduction ();
}
} while (GLOBAL (CurrentActivity) & CHECK_ABORT);
{
extern STAR_DESC starmap_array[];
extern const BYTE element_array[];