From 46f4e5fb5c77d01de334e059b88837f8c7fe1f3e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 25 Feb 2016 22:09:53 +0300 Subject: Add chat command /immortal. 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 8d1276f6e..6bcfcc66f 100644 --- a/src/net/tmwa/adminhandler.cpp +++ b/src/net/tmwa/adminhandler.cpp @@ -232,4 +232,8 @@ void AdminHandler::disguise(const std::string &name A_UNUSED) const { } +void AdminHandler::immortal(const std::string &name A_UNUSED) const +{ +} + } // namespace TmwAthena diff --git a/src/net/tmwa/adminhandler.h b/src/net/tmwa/adminhandler.h index 0a5e034f7..56511f7a8 100644 --- a/src/net/tmwa/adminhandler.h +++ b/src/net/tmwa/adminhandler.h @@ -138,6 +138,8 @@ class AdminHandler final : public Ea::AdminHandler void alive(const std::string &name) const override final; void disguise(const std::string &name) const override final; + + void immortal(const std::string &name) const override final; }; } // namespace TmwAthena -- cgit v1.2.3-70-g09d2