summaryrefslogtreecommitdiff
path: root/src/input/inputmanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-04-10 15:27:29 +0300
committerAndrei Karas <akaras@inbox.ru>2015-04-10 15:27:29 +0300
commit5c2d13948be74b6a66336af3a55179cf61788df4 (patch)
tree8b40a6950fb383970d45afe3c4e763a8d10b92ce /src/input/inputmanager.cpp
parente6c8c84cad923dd53861ef9b99bc6deb44e332a3 (diff)
downloadmanaplus-5c2d13948be74b6a66336af3a55179cf61788df4.tar.gz
manaplus-5c2d13948be74b6a66336af3a55179cf61788df4.tar.bz2
manaplus-5c2d13948be74b6a66336af3a55179cf61788df4.tar.xz
manaplus-5c2d13948be74b6a66336af3a55179cf61788df4.zip
Fix compilation with different flags.
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 c60056c3e..677b008c1 100644
--- a/src/input/inputmanager.cpp
+++ b/src/input/inputmanager.cpp
@@ -693,7 +693,9 @@ void InputManager::updateConditionMask()
if (!PlayerInfo::isVending())
mMask |= InputCondition::NOVENDING;
+#ifdef EATHENA_SUPPORT
if (!PlayerInfo::isInRoom())
+#endif
mMask |= InputCondition::NOROOM;
if (!settings.awayMode)