summaryrefslogtreecommitdiff
path: root/src/input
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-24 17:19:40 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-24 17:19:40 +0300
commit142cdd218fe10efbea5ceb78cb7947812c35e19e (patch)
tree38a40bddc3b8c9d719ad3f370aecd4ceb191f728 /src/input
parent66c5eb00b62cba0244446a8306dde1ae138d2e06 (diff)
downloadmv-142cdd218fe10efbea5ceb78cb7947812c35e19e.tar.gz
mv-142cdd218fe10efbea5ceb78cb7947812c35e19e.tar.bz2
mv-142cdd218fe10efbea5ceb78cb7947812c35e19e.tar.xz
mv-142cdd218fe10efbea5ceb78cb7947812c35e19e.zip
Add chat command /gmcharcommands. Also add show char commands 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 15816dcd9..4ffd21800 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -5281,6 +5281,12 @@ static const InputActionData inputActionData
"gmcommands|playergmcommands|playercommands",
UseArgs_true,
Protected_true},
+ {"keyPlayerCharGmCommands",
+ defaultAction(&Actions::playerCharGmCommands),
+ InputCondition::INGAME,
+ "gmcharcommands|playerchargmcommands|playercharcommands",
+ UseArgs_true,
+ Protected_true},
};
#undef defaultAction