diff options
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 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 diff --git a/src/actions/commands.h b/src/actions/commands.h index c7b1b60cb..bf7ebe03c 100644 --- a/src/actions/commands.h +++ b/src/actions/commands.h @@ -118,6 +118,7 @@ namespace Actions decHandler(commandSpawnEvilClone); decHandler(commandSavePosition); decHandler(commandLoadPosition); + decHandler(commandRandomWarp); } // namespace Actions #undef decHandler |