summaryrefslogtreecommitdiff
path: root/src/emap/init.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-01-05 19:53:45 +0300
committerAndrei Karas <akaras@inbox.ru>2016-01-05 19:53:45 +0300
commit767fc78589716529874626d6adecbec9e0515680 (patch)
tree2d237d881b3d3ddc04bd7ff263e8e90069ce9d8c /src/emap/init.c
parent3c0f83c3da4c57587baba441a2eece59b1b7c1e1 (diff)
downloadplugin-767fc78589716529874626d6adecbec9e0515680.tar.gz
plugin-767fc78589716529874626d6adecbec9e0515680.tar.bz2
plugin-767fc78589716529874626d6adecbec9e0515680.tar.xz
plugin-767fc78589716529874626d6adecbec9e0515680.zip
Reimpliment packet 0x914 for old clients.
Diffstat (limited to 'src/emap/init.c')
-rw-r--r--src/emap/init.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/emap/init.c b/src/emap/init.c
index ce69319..0796748 100644
--- a/src/emap/init.c
+++ b/src/emap/init.c
@@ -183,6 +183,7 @@ HPExport void plugin_init (void)
addHookPre("clif->sendbgemblem_area", eclif_sendbgemblem_area);
addHookPre("clif->sendbgemblem_single", eclif_sendbgemblem_single);
addHookPre("clif->set_unit_idle", eclif_set_unit_idle);
+ addHookPre("clif->set_unit_walking", eclif_set_unit_walking_pre);
addHookPre("clif->send_actual", eclif_send_actual);
addHookPre("clif->pLoadEndAck", eclif_parse_LoadEndAck_pre);
addHookPre("clif->spawn_unit", eclif_spawn_unit_pre);
@@ -220,7 +221,7 @@ HPExport void plugin_init (void)
addHookPost("status->read_job_db_sub", estatus_read_job_db_sub);
addHookPost("status->calc_pc_", estatus_calc_pc__post);
addHookPost("status->calc_speed", estatus_calc_speed_post);
- addHookPost("clif->set_unit_walking", eclif_set_unit_walking);
+ addHookPost("clif->set_unit_walking", eclif_set_unit_walking_post);
addHookPost("clif->move", eclif_move);
addHookPost("map->addflooritem", emap_addflooritem_post);
addHookPost("mob->read_db_mode_sub", emob_read_db_mode_sub_post);