diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-09-22 23:33:38 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-09-23 00:09:21 +0300 |
commit | 370771ff7a602498eac131f110b582ca4efbafef (patch) | |
tree | f96882508cdc19d62444bf24b53d0df12e54dc89 /src/net/tmwa/loginrecv.cpp | |
parent | ab3b909187ee0a18946bff50a6bd3e8e281970f1 (diff) | |
download | manaplus-370771ff7a602498eac131f110b582ca4efbafef.tar.gz manaplus-370771ff7a602498eac131f110b582ca4efbafef.tar.bz2 manaplus-370771ff7a602498eac131f110b582ca4efbafef.tar.xz manaplus-370771ff7a602498eac131f110b582ca4efbafef.zip |
Allow add conditions into out packets definition.
Diffstat (limited to 'src/net/tmwa/loginrecv.cpp')
-rw-r--r-- | src/net/tmwa/loginrecv.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/net/tmwa/loginrecv.cpp b/src/net/tmwa/loginrecv.cpp index d5ca68241..c6aa48b83 100644 --- a/src/net/tmwa/loginrecv.cpp +++ b/src/net/tmwa/loginrecv.cpp @@ -29,6 +29,8 @@ #include "net/messagein.h" +#include "net/tmwa/updateprotocol.h" + #include "utils/gettext.h" #include "debug.h" @@ -80,6 +82,8 @@ void LoginRecv::processServerVersion(Net::MessageIn &msg) else logger->log("Server without version"); + updateProtocol(); + if (serverVersion < 5) { if (client->getState() != STATE_LOGIN) |