Fix a spinlock in the final Melee score screen (Bug 879)

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2312 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
mcmartin
2006-04-19 03:50:07 +00:00
parent 9c38ba9aee
commit 08b17f49e8
2 changed files with 4 additions and 1 deletions
+1
View File
@@ -1,4 +1,5 @@
Changes towards version 0.6:
- Fixed a spinlock in Melee's final score screen (Bug 879) - Michael
- Phase 2 of online keyconfig - Setup Menu can configure assignment of
templates to players - Michael
- Control scheme shifted to Menus + Control Templates in preparation for
+3 -1
View File
@@ -315,9 +315,11 @@ GetMeleeStarShip (STARSHIPPTR LastStarShipPtr, COUNT which_player)
PressState = ButtonState;
ButtonState = FALSE;
}
TaskSwitch ();
} while (!(GLOBAL (CurrentActivity) & CHECK_ABORT) && (!ButtonState
&& (!(PlayerControl[0] & PlayerControl[1] & PSYTRON_CONTROL)
|| (TaskSwitch (), GetTimeCounter ()) < TimeOut)));
|| GetTimeCounter () < TimeOut)));
LockMutex (GraphicsLock);