summaryrefslogtreecommitdiff
path: root/src/net/tmwa
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-04-17 15:49:46 +0300
committerAndrei Karas <akaras@inbox.ru>2015-04-17 15:49:46 +0300
commit1b69396d5f19bf0fa09eadc3962b6bc97958da5c (patch)
treeb791640c3f6ed5161b6543396dfca26b5654b3ff /src/net/tmwa
parent8314f36b8b941ddc0fbe0014ea8bea7ecbdc43fe (diff)
downloadmanaplus-1b69396d5f19bf0fa09eadc3962b6bc97958da5c.tar.gz
manaplus-1b69396d5f19bf0fa09eadc3962b6bc97958da5c.tar.bz2
manaplus-1b69396d5f19bf0fa09eadc3962b6bc97958da5c.tar.xz
manaplus-1b69396d5f19bf0fa09eadc3962b6bc97958da5c.zip
Add eathena defines into rank enum.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r--src/net/tmwa/beinghandler.cpp2
-rw-r--r--src/net/tmwa/beinghandler.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/net/tmwa/beinghandler.cpp b/src/net/tmwa/beinghandler.cpp
index 5b91c4839..7ef97647e 100644
--- a/src/net/tmwa/beinghandler.cpp
+++ b/src/net/tmwa/beinghandler.cpp
@@ -252,9 +252,11 @@ void BeingHandler::undress(Being *const being) const
// being->setSprite(SPRITE_BODY, 0, "", true);
}
+#ifdef EATHENA_SUPPORT
void BeingHandler::requestRanks(const Rank::Rank rank A_UNUSED) const
{
}
+#endif
void BeingHandler::processBeingChangeLook(Net::MessageIn &msg)
{
diff --git a/src/net/tmwa/beinghandler.h b/src/net/tmwa/beinghandler.h
index 0fcb62872..64678939b 100644
--- a/src/net/tmwa/beinghandler.h
+++ b/src/net/tmwa/beinghandler.h
@@ -43,7 +43,9 @@ class BeingHandler final : public MessageHandler, public Ea::BeingHandler
void undress(Being *const being) const override final;
+#ifdef EATHENA_SUPPORT
void requestRanks(const Rank::Rank rank A_UNUSED) const override final;
+#endif
protected:
void viewPlayerEquipment(const Being *const being);