diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-07-23 00:39:12 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-07-23 00:39:12 +0300 |
commit | 6336dabcb33ca6b4d417b352fa0b12651b6f4c57 (patch) | |
tree | a84879f46ee80d2f98d0418cbcbbb81e28da8e76 /src/input/inputmanager.cpp | |
parent | 1995e723df5d5aef32b289c0122493ee6fe18b0e (diff) | |
download | manaverse-6336dabcb33ca6b4d417b352fa0b12651b6f4c57.tar.gz manaverse-6336dabcb33ca6b4d417b352fa0b12651b6f4c57.tar.bz2 manaverse-6336dabcb33ca6b4d417b352fa0b12651b6f4c57.tar.xz manaverse-6336dabcb33ca6b4d417b352fa0b12651b6f4c57.zip |
move "change away type" option into gamemodifiers.
Diffstat (limited to 'src/input/inputmanager.cpp')
-rw-r--r-- | src/input/inputmanager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input/inputmanager.cpp b/src/input/inputmanager.cpp index f8d3f7505..6cb2c998b 100644 --- a/src/input/inputmanager.cpp +++ b/src/input/inputmanager.cpp @@ -653,7 +653,7 @@ void InputManager::updateConditionMask() if (!BuyDialog::isActive() && !SellDialog::isActive()) mMask |= InputCondition::NOBUYSELL; - if (!player_node || !player_node->getAway()) + if (!settings.awayMode) mMask |= InputCondition::NOAWAY; if (!setupWindow || !setupWindow->isWindowVisible()) |