From e462513db20365c4a36e32013a3e48b00a1d2b87 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 16 Jan 2018 22:49:27 +0300 Subject: Fix compilation after hercules update. --- src/emap/map.c | 3 ++- src/emap/map.h | 3 ++- src/emap/script_buildins.c | 4 ++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/emap/map.c b/src/emap/map.c index 818eed3..4125636 100644 --- a/src/emap/map.c +++ b/src/emap/map.c @@ -74,7 +74,8 @@ int emap_addflooritem_post(int retVal, int first_charid __attribute__ ((unused)), int second_charid __attribute__ ((unused)), int third_charid __attribute__ ((unused)), - int flags __attribute__ ((unused))) + int flags __attribute__ ((unused)), + bool showdropeffect __attribute__ ((unused))) { TBL_ITEM* fitem = (TBL_ITEM*)idb_get(map->id_db, retVal); if (fitem) diff --git a/src/emap/map.h b/src/emap/map.h index fb6d740..f67f8b2 100644 --- a/src/emap/map.h +++ b/src/emap/map.h @@ -14,7 +14,8 @@ int emap_addflooritem_post(int retVal, int first_charid, int second_charid, int third_charid, - int flags); + int flags, + bool showdropeffect); void emap_online_list(int fd); int emap_getcellp_pre(struct map_data **mPtr, const struct block_list **blPtr, diff --git a/src/emap/script_buildins.c b/src/emap/script_buildins.c index b5cd601..ed6c6c1 100644 --- a/src/emap/script_buildins.c +++ b/src/emap/script_buildins.c @@ -1204,7 +1204,7 @@ BUILDIN(successRemoveCardsIndex) { // get back the cart in inventory clif->additem(sd, 0, 0, flag); - map->addflooritem(&sd->bl, &item_tmp, 1, sd->bl.m, sd->bl.x, sd->bl.y, 0, 0, 0, 0); + map->addflooritem(&sd->bl, &item_tmp, 1, sd->bl.m, sd->bl.x, sd->bl.y, 0, 0, 0, 0, false); } } } @@ -1261,7 +1261,7 @@ BUILDIN(failedRemoveCardsIndex) if ((flag = pc->additem(sd, &item_tmp, 1, LOG_TYPE_SCRIPT))) { clif->additem(sd, 0, 0, flag); - map->addflooritem(&sd->bl, &item_tmp, 1, sd->bl.m, sd->bl.x, sd->bl.y, 0, 0, 0, 0); + map->addflooritem(&sd->bl, &item_tmp, 1, sd->bl.m, sd->bl.x, sd->bl.y, 0, 0, 0, 0, false); } } } -- cgit v1.2.3-60-g2f50