summaryrefslogtreecommitdiff
path: root/src/input/inputactionmap.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-24 18:02:24 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-24 18:02:24 +0300
commit227788d991459081a894428d4455ead1dd8b46d6 (patch)
tree8ddff2efce648fd89a3a51846650670d23ccc041 /src/input/inputactionmap.h
parent52f9607980c82f53bbc76a5bb5825cbff61dc3b5 (diff)
downloadmanaplus-227788d991459081a894428d4455ead1dd8b46d6.tar.gz
manaplus-227788d991459081a894428d4455ead1dd8b46d6.tar.bz2
manaplus-227788d991459081a894428d4455ead1dd8b46d6.tar.xz
manaplus-227788d991459081a894428d4455ead1dd8b46d6.zip
Add chat command /showstats. Also add show level stats to player context menu.
Diffstat (limited to 'src/input/inputactionmap.h')
-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 8e834168d..1e8e04dc0 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -5293,6 +5293,12 @@ static const InputActionData inputActionData
"showlevel|exp",
UseArgs_true,
Protected_true},
+ {"keyCommandShowStats",
+ defaultAction(&Actions::commandShowStats),
+ InputCondition::INGAME,
+ "showstats|stats",
+ UseArgs_true,
+ Protected_true},
};
#undef defaultAction