diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-01-16 22:49:27 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-01-16 22:49:27 +0300 |
commit | e462513db20365c4a36e32013a3e48b00a1d2b87 (patch) | |
tree | eba673858a3f37f1546680d79cb55308560400a1 /src | |
parent | a49ea3708ce03d82b759c0d01d29aca6c5b3cc00 (diff) | |
download | plugin-e462513db20365c4a36e32013a3e48b00a1d2b87.tar.gz plugin-e462513db20365c4a36e32013a3e48b00a1d2b87.tar.bz2 plugin-e462513db20365c4a36e32013a3e48b00a1d2b87.tar.xz plugin-e462513db20365c4a36e32013a3e48b00a1d2b87.zip |
Fix compilation after hercules update.
Diffstat (limited to 'src')
-rw-r--r-- | src/emap/map.c | 3 | ||||
-rw-r--r-- | src/emap/map.h | 3 | ||||
-rw-r--r-- | 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); } } } |