diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-08-28 00:29:14 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-08-29 00:18:56 +0300 |
commit | e71b8c2bd9722aae29ed36b78806867964a3121d (patch) | |
tree | a33809860b6b2be44905e17075f15a48fbd20c04 /src/client.cpp | |
parent | 9a93f235386bcb47887a33527478700df77dce94 (diff) | |
download | plus-e71b8c2bd9722aae29ed36b78806867964a3121d.tar.gz plus-e71b8c2bd9722aae29ed36b78806867964a3121d.tar.bz2 plus-e71b8c2bd9722aae29ed36b78806867964a3121d.tar.xz plus-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.cpp | 4 |
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) { |