summaryrefslogtreecommitdiff
path: root/src/gui/gui.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-11-14 16:55:35 +0300
committerAndrei Karas <akaras@inbox.ru>2012-11-14 18:37:50 +0300
commit13642a6cddd8657ec84a2bfa94c6ac7d34545dba (patch)
treecefec154fe5b6ec59990c4ef5cfe67eba4a484e6 /src/gui/gui.cpp
parenteaaafe3312a361e332d495ee68451e424d90a19d (diff)
downloadManaVerse-13642a6cddd8657ec84a2bfa94c6ac7d34545dba.tar.gz
ManaVerse-13642a6cddd8657ec84a2bfa94c6ac7d34545dba.tar.bz2
ManaVerse-13642a6cddd8657ec84a2bfa94c6ac7d34545dba.tar.xz
ManaVerse-13642a6cddd8657ec84a2bfa94c6ac7d34545dba.zip
Add support for on screen joystick for moving.
Diffstat (limited to 'src/gui/gui.cpp')
-rw-r--r--src/gui/gui.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp
index f0171ede4..8d26acea8 100644
--- a/src/gui/gui.cpp
+++ b/src/gui/gui.cpp
@@ -661,7 +661,10 @@ void Gui::handleMouseInput()
const gcn::MouseInput mouseInput = mInput->dequeueMouseInput();
if (touchManager.processEvent(mouseInput))
+ {
+ mMouseInactivityTimer = 0;
continue;
+ }
// Save the current mouse state. It will be needed if modal focus
// changes or modal mouse input focus changes.