summaryrefslogtreecommitdiff
path: root/src/input
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-06-30 18:37:33 +0300
committerAndrei Karas <akaras@inbox.ru>2017-06-30 19:06:13 +0300
commita5426222cb3447e92a7051cbfe7ec8777648e4ee (patch)
tree873721c32cec0780fe1131ca4607342d2ffa6347 /src/input
parent35002b57f36c1ea66daada6a3a0ef05ef37512ec (diff)
downloadmanaplus-a5426222cb3447e92a7051cbfe7ec8777648e4ee.tar.gz
manaplus-a5426222cb3447e92a7051cbfe7ec8777648e4ee.tar.bz2
manaplus-a5426222cb3447e92a7051cbfe7ec8777648e4ee.tar.xz
manaplus-a5426222cb3447e92a7051cbfe7ec8777648e4ee.zip
Allow open chat window with debug tab before connecting to game.
Diffstat (limited to 'src/input')
-rw-r--r--src/input/inputactionmap.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h
index a87c0cada..cfe709674 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -582,7 +582,7 @@ static const InputActionData inputActionData
Input::GRP_DEFAULT | Input::GRP_GUI,
&Actions::chatWindowShow,
InputAction::NO_VALUE, 50,
- InputCondition::GAME | InputCondition::NOTARGET,
+ InputCondition::SHORTCUT0,
"openchat",
UseArgs_false,
Protected_false},
@@ -2234,7 +2234,7 @@ static const InputActionData inputActionData
&Actions::toggleChat,
InputAction::NO_VALUE, 50,
InputCondition::NOINPUT | InputCondition::NOAWAY
- | InputCondition::NOMODAL | InputCondition::INGAME,
+ | InputCondition::NOMODAL,
"chat",
UseArgs_false,
Protected_false},