summaryrefslogtreecommitdiff
path: root/src/map/init.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-12-19 01:17:24 +0300
committerAndrei Karas <akaras@inbox.ru>2014-12-19 01:17:24 +0300
commit1b827f192497a2b57150df9f56d0fa82df890b0b (patch)
tree916ca35a0116476dc80aa13c30c62e3713024c0e /src/map/init.c
parent0846b3e83759b42d8d5abea155605d7bcc0c2e22 (diff)
downloadplugin-1b827f192497a2b57150df9f56d0fa82df890b0b.tar.gz
plugin-1b827f192497a2b57150df9f56d0fa82df890b0b.tar.bz2
plugin-1b827f192497a2b57150df9f56d0fa82df890b0b.tar.xz
plugin-1b827f192497a2b57150df9f56d0fa82df890b0b.zip
Allow move from sit state.
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 1ce4a78..6a025a8 100644
--- a/src/map/init.c
+++ b/src/map/init.c
@@ -39,6 +39,7 @@
#include "map/lang.h"
#include "map/map.h"
#include "map/npc.h"
+#include "map/unit.h"
#include "map/parse.h"
#include "map/pc.h"
#include "map/quest.h"
@@ -112,6 +113,7 @@ HPExport void plugin_init (void)
addHookPre("clif->send_actual", eclif_send_actual);
addHookPre("itemdb->is_item_usable", eitemdb_is_item_usable);
addHookPre("itemdb->readdb_additional_fields", eitemdb_readdb_additional_fields);
+ addHookPre("unit->can_move", eunit_can_move);
addHookPost("clif->getareachar_unit", eclif_getareachar_unit_post);
addHookPost("clif->authok", eclif_authok_post);