diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-02-25 20:13:04 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-02-25 20:13:04 +0300 |
commit | 704b5b31fea63483c81f0744d88e46a856573424 (patch) | |
tree | 37a3530e9be27f0aca4283ec90944174aae542fa /src/actions/commands.cpp | |
parent | 25bf3308cf490313b4a86b78643226f078ce4f7e (diff) | |
download | mv-704b5b31fea63483c81f0744d88e46a856573424.tar.gz mv-704b5b31fea63483c81f0744d88e46a856573424.tar.bz2 mv-704b5b31fea63483c81f0744d88e46a856573424.tar.xz mv-704b5b31fea63483c81f0744d88e46a856573424.zip |
Add chat command /killer. Also add it to player context menu.
Diffstat (limited to 'src/actions/commands.cpp')
-rw-r--r-- | src/actions/commands.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/actions/commands.cpp b/src/actions/commands.cpp index 13bb0b622..6c7cb1d8f 100644 --- a/src/actions/commands.cpp +++ b/src/actions/commands.cpp @@ -1396,4 +1396,10 @@ impHandler(commandGotoNpc) return true; } +impHandler(commandKiller) +{ + adminHandler->killer(event.args); + return true; +} + } // namespace Actions |