summaryrefslogtreecommitdiff
path: root/src/net/tmwa/loginrecv.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-05 20:10:26 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-05 20:10:26 +0300
commit692331fcf7c07ce75a9053ef3fcc2a7597c0d007 (patch)
treef5cf34c771fe43e38c69aa11a97fd7f1a203f739 /src/net/tmwa/loginrecv.cpp
parent45c13626f8c59f6d48d411545cb17aee117ef076 (diff)
downloadmanaverse-692331fcf7c07ce75a9053ef3fcc2a7597c0d007.tar.gz
manaverse-692331fcf7c07ce75a9053ef3fcc2a7597c0d007.tar.bz2
manaverse-692331fcf7c07ce75a9053ef3fcc2a7597c0d007.tar.xz
manaverse-692331fcf7c07ce75a9053ef3fcc2a7597c0d007.zip
Remove outdated serverVersion checks from tmwa net code.
Diffstat (limited to 'src/net/tmwa/loginrecv.cpp')
-rw-r--r--src/net/tmwa/loginrecv.cpp11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/net/tmwa/loginrecv.cpp b/src/net/tmwa/loginrecv.cpp
index d86b65c23..40b7a2aba 100644
--- a/src/net/tmwa/loginrecv.cpp
+++ b/src/net/tmwa/loginrecv.cpp
@@ -75,20 +75,15 @@ void LoginRecv::processServerVersion(Net::MessageIn &msg)
serverVersion = 0;
tmwServerVersion = 0;
}
- if (serverVersion > 0)
- logger->log("Evol server version: %d", serverVersion);
- else if (tmwServerVersion > 0)
+ if (tmwServerVersion > 0)
logger->log("Tmw server version: x%06x", tmwServerVersion);
else
logger->log("Server without version");
updateProtocol();
- if (serverVersion < 5)
- {
- if (client->getState() != State::LOGIN)
- client->setState(State::LOGIN);
- }
+ if (client->getState() != State::LOGIN)
+ client->setState(State::LOGIN);
// Leave this last
Ea::LoginRecv::mVersionResponse = true;