From 7abba762ddd14b63f34a3be9c9212db3a1939960 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 30 May 2015 00:00:03 +0300 Subject: Convert Rank enum into strong typed enum. --- src/net/eathena/beinghandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/net/eathena/beinghandler.cpp') 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(rank), "type"); -- cgit v1.2.3-70-g09d2