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/actions | |
parent | 66c5eb00b62cba0244446a8306dde1ae138d2e06 (diff) | |
download | mv-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/actions')
-rw-r--r-- | src/actions/commands.cpp | 6 | ||||
-rw-r--r-- | src/actions/commands.h | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/actions/commands.cpp b/src/actions/commands.cpp index 8bccbc9cd..6cd543707 100644 --- a/src/actions/commands.cpp +++ b/src/actions/commands.cpp @@ -1269,4 +1269,10 @@ impHandler(playerGmCommands) return true; } +impHandler(playerCharGmCommands) +{ + adminHandler->playerCharGmCommands(event.args); + return true; +} + } // namespace Actions diff --git a/src/actions/commands.h b/src/actions/commands.h index ffcdde479..a950b4d50 100644 --- a/src/actions/commands.h +++ b/src/actions/commands.h @@ -103,6 +103,7 @@ namespace Actions decHandler(mobSearch); decHandler(mobSpawnSearch); decHandler(playerGmCommands); + decHandler(playerCharGmCommands); } // namespace Actions #undef decHandler |