From 1cf6cb343c6c8df8a998c617fd6f8d40f5affbea Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 22 Mar 2016 18:59:41 +0300 Subject: Add support for packet version in servers list xml and in editor. --- src/net/eathena/loginhandler.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/net/eathena/loginhandler.cpp') diff --git a/src/net/eathena/loginhandler.cpp b/src/net/eathena/loginhandler.cpp index a7bcd5406..07614be0c 100644 --- a/src/net/eathena/loginhandler.cpp +++ b/src/net/eathena/loginhandler.cpp @@ -29,6 +29,7 @@ #include "net/eathena/messageout.h" #include "net/eathena/network.h" +#include "net/eathena/updateprotocol.h" #include "net/eathena/protocolout.h" #include "debug.h" @@ -141,4 +142,9 @@ void LoginHandler::ping() const outMsg.writeInt32(0, "unused"); } +void LoginHandler::updatePacketVersion() const +{ + updateProtocol(); +} + } // namespace EAthena -- cgit v1.2.3-70-g09d2