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/tmwa/adminhandler.cpp | 4 ++++ src/net/tmwa/adminhandler.h | 2 ++ 2 files changed, 6 insertions(+) (limited to 'src/net/tmwa') diff --git a/src/net/tmwa/adminhandler.cpp b/src/net/tmwa/adminhandler.cpp index 1b19567d4..914265295 100644 --- a/src/net/tmwa/adminhandler.cpp +++ b/src/net/tmwa/adminhandler.cpp @@ -186,4 +186,8 @@ void AdminHandler::spawnSlave(const std::string &name A_UNUSED) const { } +void AdminHandler::spawnClone(const std::string &name A_UNUSED) const +{ +} + } // namespace TmwAthena diff --git a/src/net/tmwa/adminhandler.h b/src/net/tmwa/adminhandler.h index c5b5d076c..c3c7cc31e 100644 --- a/src/net/tmwa/adminhandler.h +++ b/src/net/tmwa/adminhandler.h @@ -110,6 +110,8 @@ class AdminHandler final : public Ea::AdminHandler A_CONST; void spawnSlave(const std::string &name) const override final A_CONST; + + void spawnClone(const std::string &name) const override final A_CONST; }; } // namespace TmwAthena -- cgit v1.2.3-70-g09d2