From 117a35dc9450a134038818a925168de757fb3136 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 9 Mar 2012 03:21:47 +0300 Subject: Fix incorrect packets handling from multiple update hosts commit. --- src/net/tmwa/network.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/net/tmwa') diff --git a/src/net/tmwa/network.cpp b/src/net/tmwa/network.cpp index 0e0c09d5f..306765ff4 100644 --- a/src/net/tmwa/network.cpp +++ b/src/net/tmwa/network.cpp @@ -305,6 +305,8 @@ bool Network::messageReady() int msgId = readWord(0); if (msgId == SMSG_SERVER_VERSION_RESPONSE) len = 10; + else if (msgId == SMSG_UPDATE_HOST2) + len = -1; else len = packet_lengths[msgId]; -- cgit v1.2.3-70-g09d2