From 45379d14d9d3c7f4673b8390cb95d98bb1759f45 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 29 May 2015 23:49:29 +0300 Subject: Convert Gender enum into strong typed enum. --- src/net/eathena/guildhandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/net/eathena/guildhandler.cpp') diff --git a/src/net/eathena/guildhandler.cpp b/src/net/eathena/guildhandler.cpp index 85609581b..bffe95b94 100644 --- a/src/net/eathena/guildhandler.cpp +++ b/src/net/eathena/guildhandler.cpp @@ -399,7 +399,7 @@ void GuildHandler::processGuildMemberLogin(Net::MessageIn &msg) const BeingId accountId = msg.readBeingId("account id"); const int charId = msg.readInt32("char id"); const int online = msg.readInt32("flag"); - const Gender::Type gender = Being::intToGender(static_cast( + const GenderT gender = Being::intToGender(static_cast( msg.readInt16("sex"))); msg.readInt16("hair"); msg.readInt16("hair color"); -- cgit v1.2.3-70-g09d2