summaryrefslogtreecommitdiff
path: root/src/net/tmwa/playerhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/tmwa/playerhandler.cpp')
-rw-r--r--src/net/tmwa/playerhandler.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/net/tmwa/playerhandler.cpp b/src/net/tmwa/playerhandler.cpp
index c8cee7979..a0246dbd4 100644
--- a/src/net/tmwa/playerhandler.cpp
+++ b/src/net/tmwa/playerhandler.cpp
@@ -285,17 +285,17 @@ void PlayerHandler::processOnlineList(Net::MessageIn &msg)
}
buf ++;
- int gender = GENDER_UNSPECIFIED;
+ int gender = Gender::UNSPECIFIED;
if (serverVersion >= 4)
{
if (config.getBoolValue("showgender"))
{
if (status & BeingFlag::GENDER_MALE)
- gender = GENDER_MALE;
+ gender = Gender::MALE;
else if (status & BeingFlag::GENDER_OTHER)
- gender = GENDER_OTHER;
+ gender = Gender::OTHER;
else
- gender = GENDER_FEMALE;
+ gender = Gender::FEMALE;
}
}
arr.push_back(new OnlinePlayer(static_cast<const char*>(buf),