summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-01-18 17:18:33 +0300
committerAndrei Karas <akaras@inbox.ru>2014-01-18 17:18:33 +0300
commite9e343366fbfbe9a6343089ff113354524f3f306 (patch)
treeafe2c0d8cf75738fd847af37dc166e0c338f7493
parentebc23b3463a98af6061b9cdacfbf1e81e4b05adf (diff)
downloadmv-1.4.1.18.tar.gz
mv-1.4.1.18.tar.bz2
mv-1.4.1.18.tar.xz
mv-1.4.1.18.zip
fix onscreen joystick.v1.4.1.18
-rw-r--r--src/touchactions.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/touchactions.cpp b/src/touchactions.cpp
index 1b6abdf23..a79c14275 100644
--- a/src/touchactions.cpp
+++ b/src/touchactions.cpp
@@ -23,6 +23,8 @@
#include "mouseinput.h"
#include "touchmanager.h"
+#include "input/inputmanager.h"
+
#include "debug.h"
bool padClicked(false);
@@ -96,6 +98,7 @@ static void moveChar(int x, int y)
touchManager.setActionActive(Input::KEY_MOVE_DOWN, false);
touchManager.setActionActive(Input::KEY_MOVE_UP, false);
}
+ inputManager.updateConditionMask();
}
impHandler(padClick)