summaryrefslogtreecommitdiff
path: root/src/common/console.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-08-22 02:25:02 +0300
committerAndrei Karas <akaras@inbox.ru>2018-08-25 00:37:55 +0300
commit552424e9e74b446aded6dfd732a9c7de15371290 (patch)
tree18df904147f43a0d4f2f4b087de00032fed256e2 /src/common/console.c
parent88081dd414142d1dc2e1029b943fb4a87789dc32 (diff)
downloadhercules-552424e9e74b446aded6dfd732a9c7de15371290.tar.gz
hercules-552424e9e74b446aded6dfd732a9c7de15371290.tar.bz2
hercules-552424e9e74b446aded6dfd732a9c7de15371290.tar.xz
hercules-552424e9e74b446aded6dfd732a9c7de15371290.zip
Show packet version and type at server startup.
Diffstat (limited to 'src/common/console.c')
-rw-r--r--src/common/console.c2
1 files changed, 2 insertions, 0 deletions
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);
}
/**