From 552424e9e74b446aded6dfd732a9c7de15371290 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 22 Aug 2018 02:25:02 +0300 Subject: Show packet version and type at server startup. --- src/common/console.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/common/console.c') diff --git a/src/common/console.c b/src/common/console.c index 55a9815f5..5923775b7 100644 --- a/src/common/console.c +++ b/src/common/console.c @@ -25,6 +25,7 @@ #include "common/cbasetypes.h" #include "common/core.h" +#include "common/mmo.h" #include "common/nullpo.h" #include "common/showmsg.h" #include "common/sysinfo.h" @@ -93,6 +94,7 @@ static void display_title(void) ShowInfo("Compiled with %s\n", sysinfo->compiler()); ShowInfo("Compile Flags: %s\n", sysinfo->cflags()); ShowInfo("Timer Function Type: %s\n", sysinfo->time()); + ShowInfo("Packet version: %d " PACKETTYPE "\n", PACKETVER); } /** -- cgit v1.2.3-60-g2f50