Somewhat fixes #124;
In the future, would also be nice to allow players select a ship with Fire button git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@784 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -174,8 +174,7 @@ GetMeleeStarShip (STARSHIPPTR LastStarShipPtr, COUNT which_player)
|
||||
SleepThread (ONE_SECOND / 120);
|
||||
NewTime = GetTimeCounter ();
|
||||
|
||||
if ((InputState = GetInputState (PlayerInput[which_player])) == 0)
|
||||
InputState = GetInputState (ArrowInput);
|
||||
InputState = GetInputState (PlayerInput[which_player]);
|
||||
if (InputState)
|
||||
LastTime = NewTime;
|
||||
else if (!(PlayerControl[1 - which_player] & PSYTRON_CONTROL)
|
||||
|
||||
Reference in New Issue
Block a user