summaryrefslogtreecommitdiff
path: root/src/map/init.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-04-16 12:23:10 +0300
committerAndrei Karas <akaras@inbox.ru>2015-04-16 12:23:10 +0300
commit6ecadc26c798322d8a88b9fb2d4a93349bc19d07 (patch)
treea3d37a0c74d7a41e8d0a7e93889408cfb9ffcc88 /src/map/init.c
parent555eb0850d0e46aa25de88c15d2f00fbe62385f5 (diff)
downloadplugin-6ecadc26c798322d8a88b9fb2d4a93349bc19d07.tar.gz
plugin-6ecadc26c798322d8a88b9fb2d4a93349bc19d07.tar.bz2
plugin-6ecadc26c798322d8a88b9fb2d4a93349bc19d07.tar.xz
plugin-6ecadc26c798322d8a88b9fb2d4a93349bc19d07.zip
Add to job_db.conf attribute for moving speed.
New attribute: MoveSpeed
Diffstat (limited to 'src/map/init.c')
-rw-r--r--src/map/init.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/init.c b/src/map/init.c
index e825346..572b5e8 100644
--- a/src/map/init.c
+++ b/src/map/init.c
@@ -68,6 +68,8 @@ HPExport void plugin_init (void)
{
// HPM_map_add_group_permission = GET_SYMBOL("addGroupPermission");
+ status_init();
+
addAtcommand("setskill", setSkill);
addScriptCommand("setcamnpc", "*", setCamNpc);
@@ -153,6 +155,7 @@ HPExport void plugin_init (void)
addHookPost("clif->changemap", eclif_changemap_post);
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("clif->set_unit_walking", eclif_set_unit_walking);
addHookPost("clif->move", eclif_move);
addHookPost("map->addflooritem", emap_addflooritem_post);