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/inputmanager.cpp | |
parent | 9a93f235386bcb47887a33527478700df77dce94 (diff) | |
download | manaplus-e71b8c2bd9722aae29ed36b78806867964a3121d.tar.gz manaplus-e71b8c2bd9722aae29ed36b78806867964a3121d.tar.bz2 manaplus-e71b8c2bd9722aae29ed36b78806867964a3121d.tar.xz manaplus-e71b8c2bd9722aae29ed36b78806867964a3121d.zip |
add support for process all input events before entering game.
add flag for in game action conditions.
Diffstat (limited to 'src/inputmanager.cpp')
-rw-r--r-- | src/inputmanager.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/inputmanager.cpp b/src/inputmanager.cpp index 03aba6ecf..c04185f50 100644 --- a/src/inputmanager.cpp +++ b/src/inputmanager.cpp @@ -659,6 +659,8 @@ void InputManager::updateConditionMask() { mMask |= COND_NOTARGET; } + if (Game::instance()) + mMask |= COND_INGAME; if (!player_node || player_node->getFollow().empty()) mMask |= COND_NOFOLLOW; |