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:
@@ -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 ();
|
||||
|
||||
Reference in New Issue
Block a user