From f0906ab944c982da76a5c123100e567e1db680ac Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 24 Feb 2016 16:27:39 +0300 Subject: Add chat command /mobspawnsearch. Add it to monster gm context menu. --- src/actions/commands.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/actions/commands.cpp') diff --git a/src/actions/commands.cpp b/src/actions/commands.cpp index 2adef54ca..f1ac3d962 100644 --- a/src/actions/commands.cpp +++ b/src/actions/commands.cpp @@ -1254,4 +1254,13 @@ impHandler(mobSearch) return true; } +impHandler(mobSpawnSearch) +{ + const std::string args = event.args; + if (args.empty()) + return false; + adminHandler->mobSpawnSearch(args); + return true; +} + } // namespace Actions -- cgit v1.2.3-70-g09d2