summaryrefslogtreecommitdiff
path: root/src/input/inputactionmap.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-24 17:09:20 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-24 17:09:20 +0300
commit66c5eb00b62cba0244446a8306dde1ae138d2e06 (patch)
tree41fefef24147487d9753e24ca5b4e340f14b554f /src/input/inputactionmap.h
parentf0906ab944c982da76a5c123100e567e1db680ac (diff)
downloadmanaplus-66c5eb00b62cba0244446a8306dde1ae138d2e06.tar.gz
manaplus-66c5eb00b62cba0244446a8306dde1ae138d2e06.tar.bz2
manaplus-66c5eb00b62cba0244446a8306dde1ae138d2e06.tar.xz
manaplus-66c5eb00b62cba0244446a8306dde1ae138d2e06.zip
Add chat command /gmcommands. Also add show commands 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 26ed69906..15816dcd9 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -5275,6 +5275,12 @@ static const InputActionData inputActionData
"mobspawnsearch|monsterspawnsearch|whereis",
UseArgs_true,
Protected_true},
+ {"keyPlayerGmCommands",
+ defaultAction(&Actions::playerGmCommands),
+ InputCondition::INGAME,
+ "gmcommands|playergmcommands|playercommands",
+ UseArgs_true,
+ Protected_true},
};
#undef defaultAction