From e16d1f9b8e242686f0ffa1a7bcc3f254caffca95 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 24 Feb 2016 20:48:23 +0300 Subject: Add chat command /spawnclone. Also add it to player context menu. --- src/net/eathena/adminhandler.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/net/eathena/adminhandler.cpp') diff --git a/src/net/eathena/adminhandler.cpp b/src/net/eathena/adminhandler.cpp index 5a91149a2..f0f787499 100644 --- a/src/net/eathena/adminhandler.cpp +++ b/src/net/eathena/adminhandler.cpp @@ -258,4 +258,9 @@ void AdminHandler::spawnSlave(const std::string &name) const chatHandler->talk("@summon " + name, GENERAL_CHANNEL); } +void AdminHandler::spawnClone(const std::string &name) const +{ + chatHandler->talk("@clone " + name, GENERAL_CHANNEL); +} + } // namespace EAthena -- cgit v1.2.3-70-g09d2