summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
Diffstat (limited to 'src/net')
-rw-r--r--src/net/beinghandler.h2
-rw-r--r--src/net/tmwa/beinghandler.cpp2
-rw-r--r--src/net/tmwa/beinghandler.h2
3 files changed, 6 insertions, 0 deletions
diff --git a/src/net/beinghandler.h b/src/net/beinghandler.h
index ffbe31176..af6b05b8b 100644
--- a/src/net/beinghandler.h
+++ b/src/net/beinghandler.h
@@ -43,7 +43,9 @@ class BeingHandler notfinal
virtual void undress(Being *const being) const = 0;
+#ifdef EATHENA_SUPPORT
virtual void requestRanks(const Rank::Rank rank) const = 0;
+#endif
};
} // namespace Net
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);