summaryrefslogtreecommitdiff
path: root/src/net/eathena
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena')
-rw-r--r--src/net/eathena/beinghandler.cpp2
-rw-r--r--src/net/eathena/beinghandler.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/net/eathena/beinghandler.cpp b/src/net/eathena/beinghandler.cpp
index 79354e34c..9a678321a 100644
--- a/src/net/eathena/beinghandler.cpp
+++ b/src/net/eathena/beinghandler.cpp
@@ -486,7 +486,7 @@ void BeingHandler::undress(Being *const being) const
// being->setSprite(SPRITE_BODY, 0, "", true);
}
-void BeingHandler::requestRanks(const Rank::Rank rank) const
+void BeingHandler::requestRanks(const RankT rank) const
{
createOutPacket(CMSG_REQUEST_RANKS);
outMsg.writeInt16(static_cast<int16_t>(rank), "type");
diff --git a/src/net/eathena/beinghandler.h b/src/net/eathena/beinghandler.h
index e60318314..0e26b84a7 100644
--- a/src/net/eathena/beinghandler.h
+++ b/src/net/eathena/beinghandler.h
@@ -44,7 +44,7 @@ class BeingHandler final : public MessageHandler, public Ea::BeingHandler
void undress(Being *const being) const override final;
- void requestRanks(const Rank::Rank rank) const override final;
+ void requestRanks(const RankT rank) const override final;
protected:
static Being *createBeing2(Net::MessageIn &msg,