Try to fix duplicated event produced by button
This commit is contained in:
parent
8c412ee840
commit
96ec4d9c3d
@ -328,7 +328,7 @@ void EventHandler::processGUIAction(const PlayerAction action,
|
||||
|
||||
const bool pressedDown = value > Input::MAX_VALUE*2/3;
|
||||
|
||||
if (!pressedDown && type == Input::IT_STICKMOTION) return;
|
||||
if (!pressedDown) return;
|
||||
|
||||
switch (action)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user