summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2018-01-14 15:22:13 +0100
committerGitHub <noreply@github.com>2018-01-14 15:22:13 +0100
commitadaebd02567d3034f88acda3a99c56358e1adc13 (patch)
tree2e379dc9a740a5c453aa845fc9387e95f1d10747 /src/map/pc.c
parentbe6b748363717519019cd606d2013868ae6d9378 (diff)
parent6612f0bb52d11c2a097f80174cbbb2e98e2ff4aa (diff)
downloadhercules-adaebd02567d3034f88acda3a99c56358e1adc13.tar.gz
hercules-adaebd02567d3034f88acda3a99c56358e1adc13.tar.bz2
hercules-adaebd02567d3034f88acda3a99c56358e1adc13.tar.xz
hercules-adaebd02567d3034f88acda3a99c56358e1adc13.zip
Merge pull request #1939 from Asheraf/zero_drop_packet
Add support for new drop packet 0xadd for zero clients
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index d5d359557..449cb25d3 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -4781,7 +4781,7 @@ int pc_dropitem(struct map_session_data *sd,int n,int amount)
return 0;
}
- if (!map->addflooritem(&sd->bl, &sd->status.inventory[n], amount, sd->bl.m, sd->bl.x, sd->bl.y, 0, 0, 0, 2))
+ if (!map->addflooritem(&sd->bl, &sd->status.inventory[n], amount, sd->bl.m, sd->bl.x, sd->bl.y, 0, 0, 0, 2, false))
return 0;
pc->delitem(sd, n, amount, 1, DELITEM_NORMAL, LOG_TYPE_PICKDROP_PLAYER);
@@ -7962,7 +7962,7 @@ int pc_dead(struct map_session_data *sd,struct block_list *src) {
item_tmp.card[1]=0;
item_tmp.card[2]=GetWord(sd->status.char_id,0); // CharId
item_tmp.card[3]=GetWord(sd->status.char_id,1);
- 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);
}
// activate Steel body if a super novice dies at 99+% exp [celest]