summaryrefslogtreecommitdiff
path: root/src/map/init.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-04-16 12:40:08 +0300
committerAndrei Karas <akaras@inbox.ru>2015-04-16 12:42:54 +0300
commit33b41fe00a47510ed6b84e04fc9e9a222b053130 (patch)
tree24c58e9efef5d75ff5ec5aabfb1bad9d30b1bd85 /src/map/init.c
parent6ecadc26c798322d8a88b9fb2d4a93349bc19d07 (diff)
downloadevol-hercules-33b41fe00a47510ed6b84e04fc9e9a222b053130.tar.gz
evol-hercules-33b41fe00a47510ed6b84e04fc9e9a222b053130.tar.bz2
evol-hercules-33b41fe00a47510ed6b84e04fc9e9a222b053130.tar.xz
evol-hercules-33b41fe00a47510ed6b84e04fc9e9a222b053130.zip
Apply WalkSpeed attribute from job_db.conf.
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 572b5e8..7eb1035 100644
--- a/src/map/init.c
+++ b/src/map/init.c
@@ -156,6 +156,7 @@ HPExport void plugin_init (void)
addHookPost("clif->set_unit_idle", eclif_set_unit_idle_post);
addHookPost("status->set_viewdata", estatus_set_viewdata_post);
addHookPost("status->read_job_db_sub", estatus_read_job_db_sub);
+ addHookPost("status->calc_pc_", estatus_calc_pc_);
addHookPost("clif->set_unit_walking", eclif_set_unit_walking);
addHookPost("clif->move", eclif_move);
addHookPost("map->addflooritem", emap_addflooritem_post);
@@ -165,6 +166,7 @@ HPExport void plugin_init (void)
addHookPost("pc->useitem", epc_useitem_post);
addHookPost("pc->equipitem", epc_equipitem_post);
addHookPost("pc->unequipitem", epc_unequipitem_post);
+ addHookPost("pc->setnewpc", epc_setnewpc);
langScriptId = script->add_str("Lang");
}