summaryrefslogtreecommitdiff
path: root/src/net/tmwa
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-25 22:09:53 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-25 22:09:53 +0300
commit46f4e5fb5c77d01de334e059b88837f8c7fe1f3e (patch)
tree3d20a6b2902e70caeedde5afcb65d0cb5913e69a /src/net/tmwa
parentf8423bd2d31ac4da409cabdc84fa2e3962336103 (diff)
downloadmv-46f4e5fb5c77d01de334e059b88837f8c7fe1f3e.tar.gz
mv-46f4e5fb5c77d01de334e059b88837f8c7fe1f3e.tar.bz2
mv-46f4e5fb5c77d01de334e059b88837f8c7fe1f3e.tar.xz
mv-46f4e5fb5c77d01de334e059b88837f8c7fe1f3e.zip
Add chat command /immortal. Also add it to player context menu.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r--src/net/tmwa/adminhandler.cpp4
-rw-r--r--src/net/tmwa/adminhandler.h2
2 files changed, 6 insertions, 0 deletions
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