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:
avolkov
2003-02-19 21:14:38 +00:00
parent e235250b4f
commit ceb1cc1e56
+1 -2
View File
@@ -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)