Fixed quit-during-intro-fadeout hang (Bug #987)

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2796 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
mcmartin
2007-07-08 02:08:37 +00:00
parent aab6cfe5b0
commit 5c475db9f7
2 changed files with 4 additions and 2 deletions
+3 -2
View File
@@ -1353,8 +1353,9 @@ StartGroups:
UnbatchGraphics ();
}
LockMutex (GraphicsLock);
while (pSolarSysState->SunDesc[0].radius ==
(MAX_ZOOM_RADIUS << 1))
while ((pSolarSysState->SunDesc[0].radius ==
(MAX_ZOOM_RADIUS << 1)) &&
!(GLOBAL(CurrentActivity) & CHECK_ABORT))
{
UnlockMutex (GraphicsLock);
IP_frame ();