summaryrefslogtreecommitdiff
path: root/src/map/init.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-12-18 14:13:09 +0300
committerAndrei Karas <akaras@inbox.ru>2014-12-18 14:13:09 +0300
commit0846b3e83759b42d8d5abea155605d7bcc0c2e22 (patch)
tree1e791a8b2a0b7a9dc2b503474c4f041a2076c777 /src/map/init.c
parentda93a53f7630a62f342f51743d63914f3ea5f266 (diff)
downloadplugin-0846b3e83759b42d8d5abea155605d7bcc0c2e22.tar.gz
plugin-0846b3e83759b42d8d5abea155605d7bcc0c2e22.tar.bz2
plugin-0846b3e83759b42d8d5abea155605d7bcc0c2e22.tar.xz
plugin-0846b3e83759b42d8d5abea155605d7bcc0c2e22.zip
Impliment FloorLifeTime in item_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 a3a7556..1ce4a78 100644
--- a/src/map/init.c
+++ b/src/map/init.c
@@ -37,6 +37,7 @@
#include "map/clif.h"
#include "map/itemdb.h"
#include "map/lang.h"
+#include "map/map.h"
#include "map/npc.h"
#include "map/parse.h"
#include "map/pc.h"
@@ -119,6 +120,7 @@ HPExport void plugin_init (void)
addHookPost("status->set_viewdata", estatus_set_viewdata_post);
addHookPost("clif->set_unit_walking", eclif_set_unit_walking);
addHookPost("clif->move", eclif_move);
+ addHookPost("map->addflooritem", emap_addflooritem_post);
langScriptId = script->add_str("Lang");
}