summaryrefslogtreecommitdiff
path: root/src/input/inputactionmap.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-04-04 15:45:30 +0300
committerAndrei Karas <akaras@inbox.ru>2015-04-04 15:45:30 +0300
commit6f06cd42b8e56aaae2be853a31d73d0115a39c2a (patch)
tree589d5d51b66018b6063bf954f90b96a3244b2e3d /src/input/inputactionmap.h
parent13b4a16c46983b786d31f6cf67632a3bd4e14b8f (diff)
downloadmv-6f06cd42b8e56aaae2be853a31d73d0115a39c2a.tar.gz
mv-6f06cd42b8e56aaae2be853a31d73d0115a39c2a.tar.bz2
mv-6f06cd42b8e56aaae2be853a31d73d0115a39c2a.tar.xz
mv-6f06cd42b8e56aaae2be853a31d73d0115a39c2a.zip
Add chat command for create chat room (incomplete).
New chat command: /chatroom NAME
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 d20201c79..78e23d819 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -4436,6 +4436,11 @@ static const InputActionData inputActionData[InputAction::TOTAL] = {
InputCondition::INGAME,
"hat|hats|showhat",
false},
+ {"keyCreatePublicRoom",
+ defaultAction(&Actions::createPublicChatRoom),
+ InputCondition::INGAME,
+ "createroom|createpublicroom",
+ true},
};
#undef defaultAction