diff options
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/eathena/playerrecv.cpp | 2 | ||||
-rw-r--r-- | src/net/tmwa/playerrecv.cpp | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/net/eathena/playerrecv.cpp b/src/net/eathena/playerrecv.cpp index 51abbfdc3..c1a23f8ca 100644 --- a/src/net/eathena/playerrecv.cpp +++ b/src/net/eathena/playerrecv.cpp @@ -481,7 +481,7 @@ void PlayerRecv::processOnlineList(Net::MessageIn &msg) gender = Gender::FEMALE; } arr.push_back(new OnlinePlayer(static_cast<const char*>(buf), - status, level, gender, ver, 0)); + status, level, gender, ver, -1)); buf += strlen(buf) + 1; } diff --git a/src/net/tmwa/playerrecv.cpp b/src/net/tmwa/playerrecv.cpp index d088c3c54..6233fa949 100644 --- a/src/net/tmwa/playerrecv.cpp +++ b/src/net/tmwa/playerrecv.cpp @@ -40,6 +40,8 @@ #include "debug.h" +extern unsigned int tmwServerVersion; + namespace TmwAthena { |