Set player input first, in case it fails.

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3205 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
Meep-Eep
2009-10-08 20:03:22 +00:00
parent c1d112191d
commit 09ddaf8ab9
+2 -2
View File
@@ -1732,14 +1732,14 @@ StartMelee (MELEE_STATE *pMS)
do
{
if (!SetPlayerInputAll ())
break;
LockMutex (GraphicsLock);
BuildAndDrawShipList (pMS);
UnlockMutex (GraphicsLock);
WaitForSoundEnd (TFBSOUND_WAIT_ALL);
if (!SetPlayerInputAll ())
break;
load_gravity_well ((BYTE)((COUNT)TFB_Random () %
NUMBER_OF_PLANET_TYPES));
Battle ();