diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-06-20 17:56:24 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-06-20 17:58:36 +0300 |
commit | 4edf9cac82776c5333afaa647f7a982383837406 (patch) | |
tree | 8a70af55c3a7417d25c4be0bdbb422dae38edefb /src/net/tmwa/network.cpp | |
parent | 2cd8b88679b9dd99e50bdc5ca03ba5694a0198a8 (diff) | |
download | plus-4edf9cac82776c5333afaa647f7a982383837406.tar.gz plus-4edf9cac82776c5333afaa647f7a982383837406.tar.bz2 plus-4edf9cac82776c5333afaa647f7a982383837406.tar.xz plus-4edf9cac82776c5333afaa647f7a982383837406.zip |
Remove unused old evol packets from tmwa namespace.
Diffstat (limited to 'src/net/tmwa/network.cpp')
-rw-r--r-- | src/net/tmwa/network.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/net/tmwa/network.cpp b/src/net/tmwa/network.cpp index 28760d2cc..97bbcd9c0 100644 --- a/src/net/tmwa/network.cpp +++ b/src/net/tmwa/network.cpp @@ -102,8 +102,6 @@ void Network::dispatchMessages() int len = -1; if (msgId == SMSG_SERVER_VERSION_RESPONSE) len = 10; - else if (msgId == SMSG_UPDATE_HOST2) - len = -1; else if (msgId < packet_lengths_size) len = packet_lengths[msgId]; @@ -157,10 +155,6 @@ bool Network::messageReady() { len = 10; } - else if (msgId == SMSG_UPDATE_HOST2) - { - len = -1; - } else { if (msgId >= 0 && static_cast<unsigned int>(msgId) |