summaryrefslogtreecommitdiff
path: root/src/net/eathena
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-04-17 02:12:30 +0300
committerAndrei Karas <akaras@inbox.ru>2016-04-17 02:12:30 +0300
commit72b9b0b8b7f3e0b60bf7a926b44aaa589dd131e8 (patch)
tree5fbdf84bc2255ffaedf46d61c500f85587c9b94b /src/net/eathena
parent3b3f6935aa8938f3df9974569632407ff7773d0e (diff)
downloadmanaplus-72b9b0b8b7f3e0b60bf7a926b44aaa589dd131e8.tar.gz
manaplus-72b9b0b8b7f3e0b60bf7a926b44aaa589dd131e8.tar.bz2
manaplus-72b9b0b8b7f3e0b60bf7a926b44aaa589dd131e8.tar.xz
manaplus-72b9b0b8b7f3e0b60bf7a926b44aaa589dd131e8.zip
Add packet version logging before load packets for given version.
Diffstat (limited to 'src/net/eathena')
-rw-r--r--src/net/eathena/updateprotocol.cpp3
1 files changed, 3 insertions, 0 deletions
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"