summaryrefslogtreecommitdiff
path: root/src/net/tmwa
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-25 20:42:50 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-25 20:42:50 +0300
commit3fe3a77e1ae0db748a8a0b8d500db24a6a964b44 (patch)
treeaebc36f17eeb2d5ecf675bd3d424f5558422ec60 /src/net/tmwa
parent64a067458ea169b9ff5b9a78ed1a011da86e8bdf (diff)
downloadmv-3fe3a77e1ae0db748a8a0b8d500db24a6a964b44.tar.gz
mv-3fe3a77e1ae0db748a8a0b8d500db24a6a964b44.tar.bz2
mv-3fe3a77e1ae0db748a8a0b8d500db24a6a964b44.tar.xz
mv-3fe3a77e1ae0db748a8a0b8d500db24a6a964b44.zip
Add chat command /gmheal. 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 5b3645786..f9f85e8be 100644
--- a/src/net/tmwa/adminhandler.cpp
+++ b/src/net/tmwa/adminhandler.cpp
@@ -219,4 +219,8 @@ void AdminHandler::killable(const std::string &name A_UNUSED) const
{
}
+void AdminHandler::heal(const std::string &name A_UNUSED) const
+{
+}
+
} // namespace TmwAthena
diff --git a/src/net/tmwa/adminhandler.h b/src/net/tmwa/adminhandler.h
index 607ea8ed1..2d06e88d3 100644
--- a/src/net/tmwa/adminhandler.h
+++ b/src/net/tmwa/adminhandler.h
@@ -132,6 +132,8 @@ class AdminHandler final : public Ea::AdminHandler
void killer(const std::string &name) const override final A_CONST;
void killable(const std::string &name) const override final A_CONST;
+
+ void heal(const std::string &name) const override final A_CONST;
};
} // namespace TmwAthena