summaryrefslogtreecommitdiff
path: root/src/input/inputactionmap.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-03-22 17:41:58 +0300
committerAndrei Karas <akaras@inbox.ru>2015-03-22 17:41:58 +0300
commit57fbb242575a647b3323ede64670d0a7094189e9 (patch)
tree32d337762734bb494e8641a6356da9a5cf48acea /src/input/inputactionmap.h
parent82ceb77559198eb46d3a49beb50d130ccdce0afb (diff)
downloadplus-57fbb242575a647b3323ede64670d0a7094189e9.tar.gz
plus-57fbb242575a647b3323ede64670d0a7094189e9.tar.bz2
plus-57fbb242575a647b3323ede64670d0a7094189e9.tar.xz
plus-57fbb242575a647b3323ede64670d0a7094189e9.zip
Add adction for show equipped hat in chat.
New chat command: /hat Now irc with hats can show actual hat in chat. In some servers even in irc.
Diffstat (limited to 'src/input/inputactionmap.h')
-rw-r--r--src/input/inputactionmap.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h
index a8d3853ac..d20201c79 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -4431,6 +4431,11 @@ static const InputActionData inputActionData[InputAction::TOTAL] = {
InputCondition::INGAME,
"kickguild|guildkick",
true},
+ {"keyHat",
+ defaultAction(&Actions::hat),
+ InputCondition::INGAME,
+ "hat|hats|showhat",
+ false},
};
#undef defaultAction