summaryrefslogtreecommitdiff
path: root/src/emap/init.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-07-27 20:51:19 +0300
committerAndrei Karas <akaras@inbox.ru>2016-07-27 20:51:44 +0300
commit1a4218d46ecbed547be1a6849448bbfa3ef82bf3 (patch)
treefa3c1fad5d085b64874bbdaaa93cf48d22ada38f /src/emap/init.c
parent01fd24443da378059a8e88c0755c5526e7b66cbc (diff)
downloadevol-hercules-1a4218d46ecbed547be1a6849448bbfa3ef82bf3.tar.gz
evol-hercules-1a4218d46ecbed547be1a6849448bbfa3ef82bf3.tar.bz2
evol-hercules-1a4218d46ecbed547be1a6849448bbfa3ef82bf3.tar.xz
evol-hercules-1a4218d46ecbed547be1a6849448bbfa3ef82bf3.zip
Add homunculus exp packet (0xb22)
Diffstat (limited to 'src/emap/init.c')
-rw-r--r--src/emap/init.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/emap/init.c b/src/emap/init.c
index 4ac951d..df62add 100644
--- a/src/emap/init.c
+++ b/src/emap/init.c
@@ -50,6 +50,7 @@
#include "emap/craft.h"
#include "emap/craftconf.h"
#include "emap/hashtable.h"
+#include "emap/homunculus.h"
#include "emap/itemdb.h"
#include "emap/lang.h"
#include "emap/mail.h"
@@ -259,6 +260,7 @@ HPExport void plugin_init (void)
addHookPre(script, hardcoded_constants, escript_hardcoded_constants_pre);
addHookPre(status, calc_pc_additional, estatus_calc_pc_additional_pre);
addHookPre(status, set_viewdata, estatus_set_viewdata_pre);
+ addHookPre(homun, gainexp, ehomunculus_gainexp_pre);
addHookPost(clif, addcards, eclif_addcards_post);
addHookPost(clif, addcards2, eclif_addcards2_post);