diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-03-07 22:56:05 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-03-09 00:29:40 +0300 |
commit | eacf63c7a4c660b38329325c3958bbc63d10ee5c (patch) | |
tree | a06eb415526220ce0911c686dd69e9adcf848dd3 /src/net/tmwa/network.cpp | |
parent | b384454131c7bd50ba171b1fdbad64cfc83d1ffb (diff) | |
download | mv-eacf63c7a4c660b38329325c3958bbc63d10ee5c.tar.gz mv-eacf63c7a4c660b38329325c3958bbc63d10ee5c.tar.bz2 mv-eacf63c7a4c660b38329325c3958bbc63d10ee5c.tar.xz mv-eacf63c7a4c660b38329325c3958bbc63d10ee5c.zip |
Add support for many update hosts (evol server only).
Diffstat (limited to 'src/net/tmwa/network.cpp')
-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 5d5a84a64..0e0c09d5f 100644 --- a/src/net/tmwa/network.cpp +++ b/src/net/tmwa/network.cpp @@ -331,6 +331,8 @@ MessageIn Network::getNextMessage() int len; if (msgId == SMSG_SERVER_VERSION_RESPONSE) len = 10; + else if (msgId == SMSG_UPDATE_HOST2) + len = -1; else len = packet_lengths[msgId]; |