summaryrefslogtreecommitdiff
path: root/src/net/eathena/beinghandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-30 00:00:03 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-30 00:00:03 +0300
commit7abba762ddd14b63f34a3be9c9212db3a1939960 (patch)
tree1a5ecee6d78d80c597b87c4860663abdb6a6c327 /src/net/eathena/beinghandler.cpp
parent41dfafa2ff6e878308c5edde056edfa944bf6f03 (diff)
downloadmanaverse-7abba762ddd14b63f34a3be9c9212db3a1939960.tar.gz
manaverse-7abba762ddd14b63f34a3be9c9212db3a1939960.tar.bz2
manaverse-7abba762ddd14b63f34a3be9c9212db3a1939960.tar.xz
manaverse-7abba762ddd14b63f34a3be9c9212db3a1939960.zip
Convert Rank enum into strong typed enum.
Diffstat (limited to 'src/net/eathena/beinghandler.cpp')
-rw-r--r--src/net/eathena/beinghandler.cpp2
1 files changed, 1 insertions, 1 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");