diff options
-rw-r--r-- | src/net/tmwa/playerlisthandler.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/net/tmwa/playerlisthandler.cpp b/src/net/tmwa/playerlisthandler.cpp index fe0b7bab..b15c28c6 100644 --- a/src/net/tmwa/playerlisthandler.cpp +++ b/src/net/tmwa/playerlisthandler.cpp @@ -59,14 +59,14 @@ void PlayerListHandler::handleMessage(MessageIn &msg) int length = msg.readInt16(); int count = (length - 4) / 31; std::vector<Avatar*> onlineUsers; - + SERVER_NOTICE(strprintf(_("%d players online."), count)) for (int i = 0; i < count; i++) { int id = msg.readInt32(); std::string nick = msg.readString(24); - msg.readInt32(); // level - msg.readInt32(); // gm level + msg.readInt8(); // level + msg.readInt8(); // gm level msg.readInt8(); // gender Avatar *avatar = new Avatar(nick); |