diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-02-25 19:05:31 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-02-25 19:05:31 +0300 |
commit | 77392dfa39913e4d6c51934deab51088da878e7a (patch) | |
tree | a6f56d693f5847a22e1514d17f7752798b84597b /src/actions/commands.cpp | |
parent | 4eb67aee829ba4f7b59d5a8f885a472d843e679a (diff) | |
download | manaverse-77392dfa39913e4d6c51934deab51088da878e7a.tar.gz manaverse-77392dfa39913e4d6c51934deab51088da878e7a.tar.bz2 manaverse-77392dfa39913e4d6c51934deab51088da878e7a.tar.xz manaverse-77392dfa39913e4d6c51934deab51088da878e7a.zip |
Add chat command /randomwarp. 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 771bf0ed5..c317af86a 100644 --- a/src/actions/commands.cpp +++ b/src/actions/commands.cpp @@ -1381,4 +1381,10 @@ impHandler(commandLoadPosition) return true; } +impHandler(commandRandomWarp) +{ + adminHandler->randomWarp(event.args); + return true; +} + } // namespace Actions |