summaryrefslogtreecommitdiff
path: root/src/net/tmwa/loginhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-06-20 20:05:12 +0300
committerAndrei Karas <akaras@inbox.ru>2015-06-20 20:05:12 +0300
commitb3ce0c32c6918eb7b3f50c8a1c0e57a6522bce82 (patch)
tree3071b6aec1de4df41f9159e7b27d9d1f42d5ba28 /src/net/tmwa/loginhandler.cpp
parentd50ef0a41191beb164e9dddc87f6ffadea5b5cc8 (diff)
downloadmv-b3ce0c32c6918eb7b3f50c8a1c0e57a6522bce82.tar.gz
mv-b3ce0c32c6918eb7b3f50c8a1c0e57a6522bce82.tar.bz2
mv-b3ce0c32c6918eb7b3f50c8a1c0e57a6522bce82.tar.xz
mv-b3ce0c32c6918eb7b3f50c8a1c0e57a6522bce82.zip
Fix compilation warnings.
Diffstat (limited to 'src/net/tmwa/loginhandler.cpp')
-rw-r--r--src/net/tmwa/loginhandler.cpp6
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");