summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-12 17:29:22 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-12 17:29:22 +0300
commit707a1570df9146c42411afb6dd7b2e9bc11b0251 (patch)
tree590ecfdf2cde1908c2264ab5370a0495b7aa83b7 /src/net
parent81f319af0c6321474282de8928378366bbb6e44d (diff)
downloadmv-707a1570df9146c42411afb6dd7b2e9bc11b0251.tar.gz
mv-707a1570df9146c42411afb6dd7b2e9bc11b0251.tar.bz2
mv-707a1570df9146c42411afb6dd7b2e9bc11b0251.tar.xz
mv-707a1570df9146c42411afb6dd7b2e9bc11b0251.zip
Move being flags into separate file.
Diffstat (limited to 'src/net')
-rw-r--r--src/net/tmwa/playerhandler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/tmwa/playerhandler.cpp b/src/net/tmwa/playerhandler.cpp
index e844720c3..f9a8580df 100644
--- a/src/net/tmwa/playerhandler.cpp
+++ b/src/net/tmwa/playerhandler.cpp
@@ -288,9 +288,9 @@ void PlayerHandler::processOnlineList(Net::MessageIn &msg)
{
if (config.getBoolValue("showgender"))
{
- if (status & Being::FLAG_GENDER_MALE)
+ if (status & BeingFlag::GENDER_MALE)
gender = GENDER_MALE;
- else if (status & Being::FLAG_GENDER_OTHER)
+ else if (status & BeingFlag::GENDER_OTHER)
gender = GENDER_OTHER;
else
gender = GENDER_FEMALE;