summaryrefslogtreecommitdiff
path: root/src/map/map.c
diff options
context:
space:
mode:
authorSusu <bruant.bastien@gmail.com>2013-07-29 15:49:14 +0200
committerSusu <bruant.bastien@gmail.com>2013-07-29 15:49:14 +0200
commit853489bcb5f2acfce14731b117ddc2b246042883 (patch)
treea1418ef7a65a26af3693edd0576abdbf83ce24f7 /src/map/map.c
parent9d5309327da9543f86385549001df7e9a7c98833 (diff)
downloadhercules-853489bcb5f2acfce14731b117ddc2b246042883.tar.gz
hercules-853489bcb5f2acfce14731b117ddc2b246042883.tar.bz2
hercules-853489bcb5f2acfce14731b117ddc2b246042883.tar.xz
hercules-853489bcb5f2acfce14731b117ddc2b246042883.zip
Added intif interface
Diffstat (limited to 'src/map/map.c')
-rw-r--r--src/map/map.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/map/map.c b/src/map/map.c
index 5e8102ea0..5db5431a8 100644
--- a/src/map/map.c
+++ b/src/map/map.c
@@ -1185,7 +1185,7 @@ int map_clearflooritem_timer(int tid, unsigned int tick, int id, intptr_t data)
if (search_petDB_index(fitem->item_data.nameid, PET_EGG) >= 0)
- intif_delete_petdata(MakeDWord(fitem->item_data.card[1], fitem->item_data.card[2]));
+ intif->delete_petdata(MakeDWord(fitem->item_data.card[1], fitem->item_data.card[2]));
clif->clearflooritem(fitem, 0);
iMap->deliddb(&fitem->bl);
@@ -5158,6 +5158,7 @@ void map_hp_symbols(void) {
HPM->share(chat, "chat");
HPM->share(iDuel,"iDuel");
HPM->share(elemental,"elemental");
+ HPM->share(intif,"intif");
/* partial */
@@ -5199,6 +5200,7 @@ void map_load_defaults(void) {
chat_defaults();
iDuel_defaults();
elemental_defaults();
+ intif_defaults();
}
int do_init(int argc, char *argv[])
{