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
|
do
|
||||||
{
|
{
|
||||||
|
if (!SetPlayerInputAll ())
|
||||||
|
break;
|
||||||
LockMutex (GraphicsLock);
|
LockMutex (GraphicsLock);
|
||||||
BuildAndDrawShipList (pMS);
|
BuildAndDrawShipList (pMS);
|
||||||
UnlockMutex (GraphicsLock);
|
UnlockMutex (GraphicsLock);
|
||||||
|
|
||||||
WaitForSoundEnd (TFBSOUND_WAIT_ALL);
|
WaitForSoundEnd (TFBSOUND_WAIT_ALL);
|
||||||
|
|
||||||
if (!SetPlayerInputAll ())
|
|
||||||
break;
|
|
||||||
load_gravity_well ((BYTE)((COUNT)TFB_Random () %
|
load_gravity_well ((BYTE)((COUNT)TFB_Random () %
|
||||||
NUMBER_OF_PLANET_TYPES));
|
NUMBER_OF_PLANET_TYPES));
|
||||||
Battle ();
|
Battle ();
|
||||||
|
|||||||
Reference in New Issue
Block a user