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/mob.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/mob.c')
-rw-r--r-- | src/map/mob.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/mob.c b/src/map/mob.c index f509ecace..e1c145d43 100644 --- a/src/map/mob.c +++ b/src/map/mob.c @@ -1873,7 +1873,7 @@ int mob_delay_item_drop(int tid, int64 tick, int id, intptr_t data) { struct item_drop *ditem_prev; map->addflooritem(NULL, &ditem->item_data,ditem->item_data.amount, list->m,list->x,list->y, - list->first_charid,list->second_charid,list->third_charid,0); + list->first_charid,list->second_charid,list->third_charid,0,true); ditem_prev = ditem; ditem = ditem->next; ers_free(item_drop_ers, ditem_prev); @@ -2586,7 +2586,7 @@ int mob_dead(struct mob_data *md, struct block_list *src, int type) { if((temp = pc->additem(mvp_sd,&item,1,LOG_TYPE_PICKDROP_PLAYER)) != 0) { clif->additem(mvp_sd,0,0,temp); - map->addflooritem(&md->bl, &item, 1, mvp_sd->bl.m, mvp_sd->bl.x, mvp_sd->bl.y, mvp_sd->status.char_id, (second_sd?second_sd->status.char_id : 0), (third_sd ? third_sd->status.char_id : 0), 1); + map->addflooritem(&md->bl, &item, 1, mvp_sd->bl.m, mvp_sd->bl.x, mvp_sd->bl.y, mvp_sd->status.char_id, (second_sd?second_sd->status.char_id : 0), (third_sd ? third_sd->status.char_id : 0), 1, true); } //Logs items, MVP prizes [Lupus] |