Fixed some cases where keys react too quickly across contexts
(introduced by previous fix). git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@984 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -237,6 +237,11 @@ DoInput (PVOID pInputState, BOOLEAN resetInput)
|
||||
}
|
||||
} while ((*((PINPUT_STATE_DESC)pInputState)->InputFunc)
|
||||
(pInputState));
|
||||
if (resetInput)
|
||||
{
|
||||
TFB_ResetControls ();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
BATTLE_INPUT_STATE
|
||||
|
||||
@@ -712,6 +712,8 @@ PickPlanetSide (PMENU_STATE pMS)
|
||||
SetSemaphore (GraphicsSem);
|
||||
DrawStatusMessage (NULL_PTR);
|
||||
ClearSemaphore (GraphicsSem);
|
||||
|
||||
FlushInput ();
|
||||
if (pMenuState->flash_task)
|
||||
{
|
||||
ConcludeTask (pMenuState->flash_task);
|
||||
|
||||
Reference in New Issue
Block a user