diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-05-18 12:18:44 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-05-18 14:52:11 +0300 |
commit | bb9ed14fc1bf7dc20f1e951e67bb359c273033a3 (patch) | |
tree | c46e7e5708d3a2058233a41a08995e6c861703ea /src/net/tmwa | |
parent | 10273bc94e90fefcfe3fc215aaaaafe7e0e96bd4 (diff) | |
download | plus-bb9ed14fc1bf7dc20f1e951e67bb359c273033a3.tar.gz plus-bb9ed14fc1bf7dc20f1e951e67bb359c273033a3.tar.bz2 plus-bb9ed14fc1bf7dc20f1e951e67bb359c273033a3.tar.xz plus-bb9ed14fc1bf7dc20f1e951e67bb359c273033a3.zip |
fix code style.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r-- | src/net/tmwa/playerhandler.cpp | 8 |
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), |