summaryrefslogtreecommitdiff
path: root/src/common/core.c
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2018-11-15 04:01:03 +0100
committerGitHub <noreply@github.com>2018-11-15 04:01:03 +0100
commit47d6523817646f2d4f081b93ec44a971a01fce25 (patch)
tree39f5f62367fed1efe1dd734a2f3a588f2e44a9f4 /src/common/core.c
parent3b93418544f84f142ea2a6e2bcdf1621267ff989 (diff)
parent1f237031a63567d8c96bca4a28ab9557ebe1459e (diff)
downloadhercules-47d6523817646f2d4f081b93ec44a971a01fce25.tar.gz
hercules-47d6523817646f2d4f081b93ec44a971a01fce25.tar.bz2
hercules-47d6523817646f2d4f081b93ec44a971a01fce25.tar.xz
hercules-47d6523817646f2d4f081b93ec44a971a01fce25.zip
Merge pull request #2321 from 4144/packetlen
Add complete packet len table
Diffstat (limited to 'src/common/core.c')
-rw-r--r--src/common/core.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/common/core.c b/src/common/core.c
index 1ecf1df83..dbd1d2596 100644
--- a/src/common/core.c
+++ b/src/common/core.c
@@ -36,6 +36,7 @@
#include "common/mmo.h"
#include "common/mutex.h"
#include "common/nullpo.h"
+#include "common/packets.h"
#include "common/random.h"
#include "common/showmsg.h"
#include "common/socket.h"
@@ -261,6 +262,7 @@ static void core_defaults(void)
timer_defaults();
db_defaults();
socket_defaults();
+ packets_defaults();
rnd_defaults();
md5_defaults();
thread_defaults();
@@ -526,6 +528,8 @@ int main(int argc, char **argv)
sockt->init();
+ packets->init();
+
do_init(argc,argv);
// Main runtime cycle
@@ -539,6 +543,7 @@ int main(int argc, char **argv)
retval = do_final();
HPM->final();
timer->final();
+ packets->final();
sockt->final();
DB->final();
thread->final();