diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-03-09 03:21:47 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-03-09 03:21:47 +0300 |
commit | 117a35dc9450a134038818a925168de757fb3136 (patch) | |
tree | 10fd406642cfd3c809486a77ed03acd1859dcb6c /src/net | |
parent | 38ec970d77a4a433f4c691c0fdb4d1bd14a9f917 (diff) | |
download | manaverse-117a35dc9450a134038818a925168de757fb3136.tar.gz manaverse-117a35dc9450a134038818a925168de757fb3136.tar.bz2 manaverse-117a35dc9450a134038818a925168de757fb3136.tar.xz manaverse-117a35dc9450a134038818a925168de757fb3136.zip |
Fix incorrect packets handling from multiple update hosts commit.
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/tmwa/network.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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]; |