summaryrefslogtreecommitdiff
path: root/src/map/init.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-02-15 23:48:51 +0300
committerAndrei Karas <akaras@inbox.ru>2015-02-15 23:48:51 +0300
commitc7a03f4a20ae7a39277417ee566211f7dd94130a (patch)
tree6ffe7c82956bc2163abfe7ddaa8c8702bee0fbe4 /src/map/init.c
parent5391b33e088ebf7c88766abf3a622a6b4b52a2cf (diff)
downloadevol-hercules-c7a03f4a20ae7a39277417ee566211f7dd94130a.tar.gz
evol-hercules-c7a03f4a20ae7a39277417ee566211f7dd94130a.tar.bz2
evol-hercules-c7a03f4a20ae7a39277417ee566211f7dd94130a.tar.xz
evol-hercules-c7a03f4a20ae7a39277417ee566211f7dd94130a.zip
map: add attribute for mobs for stand slaves alive after muster was dead
New mob attribute: 0x8000
Diffstat (limited to 'src/map/init.c')
-rw-r--r--src/map/init.c2
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);