diff options
author | Asheraf <acheraf1998@gmail.com> | 2017-12-23 01:32:35 +0000 |
---|---|---|
committer | Asheraf <acheraf1998@gmail.com> | 2017-12-23 02:37:10 +0000 |
commit | fce05b62b79221fbed2f64d8d32d6f97cee8b00f (patch) | |
tree | 233ef693f9400a632f0bc434d981b1a0a721fbc6 /src/map/pc.c | |
parent | 99c34eb5637fc48eba2998e304697b96ad6e89bf (diff) | |
download | hercules-fce05b62b79221fbed2f64d8d32d6f97cee8b00f.tar.gz hercules-fce05b62b79221fbed2f64d8d32d6f97cee8b00f.tar.bz2 hercules-fce05b62b79221fbed2f64d8d32d6f97cee8b00f.tar.xz hercules-fce05b62b79221fbed2f64d8d32d6f97cee8b00f.zip |
Add support for new drop packet 0xadd for zero clients
Diffstat (limited to 'src/map/pc.c')
-rw-r--r-- | src/map/pc.c | 4 |
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] |