From ceb1cc1e5605be6ad7930d09fdb456d3a5d327e6 Mon Sep 17 00:00:00 2001 From: avolkov Date: Wed, 19 Feb 2003 21:14:38 +0000 Subject: [PATCH] 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 --- sc2/src/sc2code/pickmele.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sc2/src/sc2code/pickmele.c b/sc2/src/sc2code/pickmele.c index 58b90cd88..201321c24 100644 --- a/sc2/src/sc2code/pickmele.c +++ b/sc2/src/sc2code/pickmele.c @@ -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)