summaryrefslogtreecommitdiff
path: root/src/input/inputmanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-04-05 15:34:11 +0300
committerAndrei Karas <akaras@inbox.ru>2015-04-05 16:25:18 +0300
commit08d5f2d6f3eeded6d7a2e1adcf94e850098aa85f (patch)
tree7cd9be72ab884387173b2aaaa6421ebba7be1ed4 /src/input/inputmanager.cpp
parent05a196194b8270c1ae2e63f8ae31f8a492022388 (diff)
downloadmanaplus-08d5f2d6f3eeded6d7a2e1adcf94e850098aa85f.tar.gz
manaplus-08d5f2d6f3eeded6d7a2e1adcf94e850098aa85f.tar.bz2
manaplus-08d5f2d6f3eeded6d7a2e1adcf94e850098aa85f.tar.xz
manaplus-08d5f2d6f3eeded6d7a2e1adcf94e850098aa85f.zip
On room creation show room name in general tab caption.
Not allow move if in room.
Diffstat (limited to 'src/input/inputmanager.cpp')
-rw-r--r--src/input/inputmanager.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/input/inputmanager.cpp b/src/input/inputmanager.cpp
index 11ff7f291..c60056c3e 100644
--- a/src/input/inputmanager.cpp
+++ b/src/input/inputmanager.cpp
@@ -693,6 +693,8 @@ void InputManager::updateConditionMask()
if (!PlayerInfo::isVending())
mMask |= InputCondition::NOVENDING;
+ if (!PlayerInfo::isInRoom())
+ mMask |= InputCondition::NOROOM;
if (!settings.awayMode)
mMask |= InputCondition::NOAWAY;