diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-06-20 20:05:12 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-06-20 20:05:12 +0300 |
commit | b3ce0c32c6918eb7b3f50c8a1c0e57a6522bce82 (patch) | |
tree | 3071b6aec1de4df41f9159e7b27d9d1f42d5ba28 /src/net/tmwa/loginhandler.cpp | |
parent | d50ef0a41191beb164e9dddc87f6ffadea5b5cc8 (diff) | |
download | manaplus-b3ce0c32c6918eb7b3f50c8a1c0e57a6522bce82.tar.gz manaplus-b3ce0c32c6918eb7b3f50c8a1c0e57a6522bce82.tar.bz2 manaplus-b3ce0c32c6918eb7b3f50c8a1c0e57a6522bce82.tar.xz manaplus-b3ce0c32c6918eb7b3f50c8a1c0e57a6522bce82.zip |
Fix compilation warnings.
Diffstat (limited to 'src/net/tmwa/loginhandler.cpp')
-rw-r--r-- | src/net/tmwa/loginhandler.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/net/tmwa/loginhandler.cpp b/src/net/tmwa/loginhandler.cpp index 58a0be565..c94a82327 100644 --- a/src/net/tmwa/loginhandler.cpp +++ b/src/net/tmwa/loginhandler.cpp @@ -173,9 +173,9 @@ void LoginHandler::requestUpdateHosts() void LoginHandler::processServerVersion(Net::MessageIn &msg) { const uint8_t b1 = msg.readUInt8("b1"); // -1 - const uint8_t b2 = msg.readUInt8("b2"); // E - const uint8_t b3 = msg.readUInt8("b3"); // V - const uint8_t b4 = msg.readUInt8("b4"); // L + const uint8_t b2 = msg.readUInt8("b2"); + const uint8_t b3 = msg.readUInt8("b3"); + msg.readUInt8("b4"); if (b1 == 255) { // old TMWA const unsigned int options = msg.readInt32("options"); |