diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-02-24 17:19:40 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-02-24 17:19:40 +0300 |
commit | 142cdd218fe10efbea5ceb78cb7947812c35e19e (patch) | |
tree | 38a40bddc3b8c9d719ad3f370aecd4ceb191f728 /src/input | |
parent | 66c5eb00b62cba0244446a8306dde1ae138d2e06 (diff) | |
download | manaplus-142cdd218fe10efbea5ceb78cb7947812c35e19e.tar.gz manaplus-142cdd218fe10efbea5ceb78cb7947812c35e19e.tar.bz2 manaplus-142cdd218fe10efbea5ceb78cb7947812c35e19e.tar.xz manaplus-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.h | 6 |
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 |