From 72b9b0b8b7f3e0b60bf7a926b44aaa589dd131e8 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 17 Apr 2016 02:12:30 +0300 Subject: Add packet version logging before load packets for given version. --- src/net/eathena/updateprotocol.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/net/eathena/updateprotocol.cpp') diff --git a/src/net/eathena/updateprotocol.cpp b/src/net/eathena/updateprotocol.cpp index 1a0d0290a..b14c4b89a 100644 --- a/src/net/eathena/updateprotocol.cpp +++ b/src/net/eathena/updateprotocol.cpp @@ -20,6 +20,8 @@ #include "net/eathena/updateprotocol.h" +#include "logger.h" + #include "net/eathena/network.h" #include "net/eathena/protocolout.h" @@ -33,6 +35,7 @@ namespace EAthena void updateProtocol() { + logger->log("packet version: %d", packetVersion); #define PACKETS_UPDATE #include "net/protocoloutupdate.h" #include "net/eathena/packetsout.inc" -- cgit v1.2.3-70-g09d2