summaryrefslogtreecommitdiff
path: root/src/map/init.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-11-30 17:11:40 +0300
committerAndrei Karas <akaras@inbox.ru>2014-11-30 17:48:44 +0300
commit5232d8fa98cbfb7a85e15b182eeb1e22d5b7376a (patch)
tree02fb3608af73a948adef7787e8f2ffd562b3c7d1 /src/map/init.c
parent4597146d5a26105130d2181cfae5403bd3013366 (diff)
downloadplugin-5232d8fa98cbfb7a85e15b182eeb1e22d5b7376a.tar.gz
plugin-5232d8fa98cbfb7a85e15b182eeb1e22d5b7376a.tar.bz2
plugin-5232d8fa98cbfb7a85e15b182eeb1e22d5b7376a.tar.xz
plugin-5232d8fa98cbfb7a85e15b182eeb1e22d5b7376a.zip
map: send full moving path to client.
Also fix memory issue in string translation.
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 fb91cfe..2794692 100644
--- a/src/map/init.c
+++ b/src/map/init.c
@@ -115,6 +115,8 @@ 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("clif->set_unit_walking", eclif_set_unit_walking);
+ addHookPost("clif->move", eclif_move);
langScriptId = script->add_str("Lang");
}