From e71b8c2bd9722aae29ed36b78806867964a3121d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 28 Aug 2013 00:29:14 +0300 Subject: add support for process all input events before entering game. add flag for in game action conditions. --- src/inputmanager.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/inputmanager.cpp') 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; -- cgit v1.2.3-70-g09d2