summaryrefslogtreecommitdiff
path: root/src/input
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-24 19:46:26 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-24 19:46:26 +0300
commit61de258859b600011284a49d54bca1f31ecb6d3d (patch)
treeb5c6dba3f0329f9f52f9bcbf57dd14efeddf1e22 /src/input
parentca20df8ccb5eac498a9eab2f3c03d30fe495ef30 (diff)
downloadmv-61de258859b600011284a49d54bca1f31ecb6d3d.tar.gz
mv-61de258859b600011284a49d54bca1f31ecb6d3d.tar.bz2
mv-61de258859b600011284a49d54bca1f31ecb6d3d.tar.xz
mv-61de258859b600011284a49d54bca1f31ecb6d3d.zip
Add chat command /showaccountinfo. Also add it to player context menu.
Diffstat (limited to 'src/input')
-rw-r--r--src/input/inputactionmap.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h
index 9dcb7b05c..e1541690e 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -5323,6 +5323,12 @@ static const InputActionData inputActionData
"locate|locateplayer|whereplayer",
UseArgs_true,
Protected_true},
+ {"keyCommandShowAccountInfo",
+ defaultAction(&Actions::commandShowAccountInfo),
+ InputCondition::INGAME,
+ "showaccountinfo|showaccinfo|accinfo",
+ UseArgs_true,
+ Protected_true},
};
#undef defaultAction