summaryrefslogtreecommitdiff
path: root/src/net/tmwa/network.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/tmwa/network.cpp')
-rw-r--r--src/net/tmwa/network.cpp6
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)