diff options
Diffstat (limited to 'src/map/init.c')
-rw-r--r-- | src/map/init.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/init.c b/src/map/init.c index d7ba9f2..60d8540 100644 --- a/src/map/init.c +++ b/src/map/init.c @@ -40,6 +40,7 @@ #include "map/itemdb.h" #include "map/lang.h" #include "map/map.h" +#include "map/mob.h" #include "map/npc.h" #include "map/unit.h" #include "map/parse.h" @@ -113,6 +114,7 @@ HPExport void plugin_init (void) addHookPre("pc->can_attack", epc_can_attack); addHookPre("pc->takeitem", epc_takeitem); addHookPre("pc->validate_levels", epc_validate_levels); + addHookPre("mob->deleteslave_sub", emob_deleteslave_sub); addHookPre("npc->parse_unknown_mapflag", enpc_parse_unknown_mapflag); addHookPre("npc->buysellsel", enpc_buysellsel); addHookPre("npc->db_checkid", enpc_db_checkid); |