From 2b6f23670b3add2cb845b9606d13e6aad6360f11 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 3 Oct 2015 00:46:44 +0300 Subject: Add basic support for own collision types. --- src/emap/init.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/emap/init.c') 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); -- cgit v1.2.3-70-g09d2