summaryrefslogtreecommitdiff
path: root/src/emap/init.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-10-03 00:46:44 +0300
committerAndrei Karas <akaras@inbox.ru>2015-10-03 00:46:44 +0300
commit2b6f23670b3add2cb845b9606d13e6aad6360f11 (patch)
treea10d606892caf62330f657095358d0b0195ed186 /src/emap/init.c
parentdeeb2b5b36cbf69bedc5ab5f9fa37881f808b810 (diff)
downloadevol-hercules-2b6f23670b3add2cb845b9606d13e6aad6360f11.tar.gz
evol-hercules-2b6f23670b3add2cb845b9606d13e6aad6360f11.tar.bz2
evol-hercules-2b6f23670b3add2cb845b9606d13e6aad6360f11.tar.xz
evol-hercules-2b6f23670b3add2cb845b9606d13e6aad6360f11.zip
Add basic support for own collision types.
Diffstat (limited to 'src/emap/init.c')
-rw-r--r--src/emap/init.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/emap/init.c b/src/emap/init.c
index 09f3c1e..beff644 100644
--- a/src/emap/init.c
+++ b/src/emap/init.c
@@ -177,6 +177,9 @@ HPExport void plugin_init (void)
addHookPre("unit->can_move", eunit_can_move);
addHookPre("unit->walktoxy", eunit_walktoxy);
addHookPre("mail->invalid_operation", email_invalid_operation);
+ addHookPre("map->cell2gat", emap_cell2gat);
+ addHookPre("map->gat2cell", emap_gat2cell);
+ addHookPre("map->getcellp", emap_getcellp);
addHookPre("script->set_reg_npc_num", eset_reg_npcscope_num);
addHookPre("script->get_val_npc_num", eget_val_npcscope_num);
addHookPre("script->get_val_ref_num", eget_val_npcscope_num);