summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-08-28 00:29:14 +0300
committerAndrei Karas <akaras@inbox.ru>2013-08-29 00:18:56 +0300
commite71b8c2bd9722aae29ed36b78806867964a3121d (patch)
treea33809860b6b2be44905e17075f15a48fbd20c04 /src/client.cpp
parent9a93f235386bcb47887a33527478700df77dce94 (diff)
downloadmanaverse-e71b8c2bd9722aae29ed36b78806867964a3121d.tar.gz
manaverse-e71b8c2bd9722aae29ed36b78806867964a3121d.tar.bz2
manaverse-e71b8c2bd9722aae29ed36b78806867964a3121d.tar.xz
manaverse-e71b8c2bd9722aae29ed36b78806867964a3121d.zip
add support for process all input events before entering game.
add flag for in game action conditions.
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/client.cpp b/src/client.cpp
index c51083151..a04a20512 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -1010,7 +1010,9 @@ int Client::gameExec()
#endif
}
- guiInput->pushInput(event);
+ if (inputManager.handleEvent(event))
+ continue;
+
#ifdef USE_MUMBLE
if (player_node && mumbleManager)
{