From 0846b3e83759b42d8d5abea155605d7bcc0c2e22 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 18 Dec 2014 14:13:09 +0300 Subject: Impliment FloorLifeTime in item_db.conf --- src/map/init.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/map/init.c') 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"); } -- cgit v1.2.3-70-g09d2