diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-11-06 17:19:44 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-11-06 17:29:51 +0300 |
commit | 208da05ae612c118f1f6d91dca7bbd8670cf2897 (patch) | |
tree | f6e4395b08cce28ac52a20ba3dbe2b78322c652b /src/net/tmwa/loginhandler.cpp | |
parent | 4a688fa73264495d6f0db661e6d3d5c4630ed6df (diff) | |
download | plus-208da05ae612c118f1f6d91dca7bbd8670cf2897.tar.gz plus-208da05ae612c118f1f6d91dca7bbd8670cf2897.tar.bz2 plus-208da05ae612c118f1f6d91dca7bbd8670cf2897.tar.xz plus-208da05ae612c118f1f6d91dca7bbd8670cf2897.zip |
eathena: add packets SMSG_SERVER_VERSION_RESPONSE 0x7531
and CMSG_SERVER_VERSION_REQUEST 0x7530
Diffstat (limited to 'src/net/tmwa/loginhandler.cpp')
-rw-r--r-- | src/net/tmwa/loginhandler.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/net/tmwa/loginhandler.cpp b/src/net/tmwa/loginhandler.cpp index b0e381407..c4fe39e64 100644 --- a/src/net/tmwa/loginhandler.cpp +++ b/src/net/tmwa/loginhandler.cpp @@ -110,7 +110,8 @@ void LoginHandler::connect() return; mNetwork->connect(mServer); - createOutPacket(CMSG_SERVER_VERSION_REQUEST); + if (serverFeatures->haveServerVersion()) + createOutPacket(CMSG_SERVER_VERSION_REQUEST); } bool LoginHandler::isConnected() const |