summaryrefslogtreecommitdiff
path: root/src/emap/init.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-10-01 22:22:07 +0300
committerAndrei Karas <akaras@inbox.ru>2015-10-01 22:22:07 +0300
commit1419fc70cba0f3263a15eeac8d58d27dd3af0c69 (patch)
tree3d14bf822e194d18bf9781bde7d5bfb80c30e05d /src/emap/init.c
parentcdeb65b6bcbce16c654891a7f75b86bc669e2bdf (diff)
downloadplugin-1419fc70cba0f3263a15eeac8d58d27dd3af0c69.tar.gz
plugin-1419fc70cba0f3263a15eeac8d58d27dd3af0c69.tar.bz2
plugin-1419fc70cba0f3263a15eeac8d58d27dd3af0c69.tar.xz
plugin-1419fc70cba0f3263a15eeac8d58d27dd3af0c69.zip
Rename some functions in same way like it named in server.
Diffstat (limited to 'src/emap/init.c')
-rw-r--r--src/emap/init.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/emap/init.c b/src/emap/init.c
index 2d7e2d2..dd510b9 100644
--- a/src/emap/init.c
+++ b/src/emap/init.c
@@ -177,12 +177,12 @@ 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("script->set_reg_npc_num", escript_set_reg_npc_num);
- addHookPre("script->get_val_npc_num", escript_get_val_npcscope_num);
- addHookPre("script->get_val_ref_num", escript_get_val_npcscope_num);
- addHookPre("script->set_reg_npc_str", escript_set_reg_npc_str);
- addHookPre("script->get_val_npc_str", escript_get_val_npcscope_str);
- addHookPre("script->get_val_ref_str", escript_get_val_npcscope_str);
+ 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);
+ addHookPre("script->set_reg_npc_str", eset_reg_npcscope_str);
+ addHookPre("script->get_val_npc_str", eget_val_npcscope_str);
+ addHookPre("script->get_val_ref_str", eget_val_npcscope_str);
addHookPre("status->calc_pc_additional", estatus_calc_pc_additional);
addHookPost("clif->getareachar_unit", eclif_getareachar_unit_post);
@@ -197,8 +197,8 @@ HPExport void plugin_init (void)
addHookPost("map->addflooritem", emap_addflooritem_post);
addHookPost("skill->check_condition_castend", eskill_check_condition_castend_post);
addHookPost("pc->additem", epc_additem_post);
- addHookPost("pc->isequip", epc_isuseequip_post);
- addHookPost("pc->isUseitem", epc_isuseequip_post);
+ addHookPost("pc->isequip", epc_isequip_post);
+ addHookPost("pc->isUseitem", epc_isequip_post);
addHookPost("pc->useitem", epc_useitem_post);
addHookPost("pc->equipitem", epc_equipitem_post);
addHookPost("pc->unequipitem", epc_unequipitem_post);