summaryrefslogtreecommitdiff
path: root/src/input
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-24 17:18:27 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-24 17:18:27 +0300
commitefa45459a4d79cf1adba3327f6dad02fc5aa55cd (patch)
treef9d6022981235006d34f6352bb13535ee7d72a56 /src/input
parentf5651bc452096c8cd84d7c801228d64af3a165d2 (diff)
downloadmanaverse-efa45459a4d79cf1adba3327f6dad02fc5aa55cd.tar.gz
manaverse-efa45459a4d79cf1adba3327f6dad02fc5aa55cd.tar.bz2
manaverse-efa45459a4d79cf1adba3327f6dad02fc5aa55cd.tar.xz
manaverse-efa45459a4d79cf1adba3327f6dad02fc5aa55cd.zip
Move chat command /friend into actions.
Diffstat (limited to 'src/input')
-rw-r--r--src/input/inputaction.h1
-rw-r--r--src/input/inputactionmap.h9
2 files changed, 10 insertions, 0 deletions
diff --git a/src/input/inputaction.h b/src/input/inputaction.h
index e5072eb1e..8abf6f65d 100644
--- a/src/input/inputaction.h
+++ b/src/input/inputaction.h
@@ -352,6 +352,7 @@ namespace InputAction
CLEAR_CHAT_TAB,
IGNORE,
UNIGNORE,
+ FRIEND,
TOTAL
};
} // namespace InputAction
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h
index 10668f463..f94af5e9e 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -2937,6 +2937,15 @@ static const InputActionData inputActionData[InputAction::TOTAL] = {
InputAction::NO_VALUE, 50,
InputCondition::INGAME,
"unignore",
+ true},
+ {"keyFriend",
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ Input::GRP_DEFAULT,
+ &Actions::chatFriend,
+ InputAction::NO_VALUE, 50,
+ InputCondition::INGAME,
+ "friend|befriend",
true}
};