summaryrefslogtreecommitdiff
path: root/src/touchactions.cpp
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 /src/touchactions.cpp
parentebc23b3463a98af6061b9cdacfbf1e81e4b05adf (diff)
downloadmanaplus-e9e343366fbfbe9a6343089ff113354524f3f306.tar.gz
manaplus-e9e343366fbfbe9a6343089ff113354524f3f306.tar.bz2
manaplus-e9e343366fbfbe9a6343089ff113354524f3f306.tar.xz
manaplus-e9e343366fbfbe9a6343089ff113354524f3f306.zip
fix onscreen joystick.v1.4.1.18
Diffstat (limited to 'src/touchactions.cpp')
-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)