summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-26 18:51:22 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-26 18:51:22 +0000
commitb3c0a6ccc854c125f481b24d57b7f2747b7200ba (patch)
treeae1363b67945bdb5c69d583f4b186186ee537068 /src/map/pc.c
parent139ff53fe22105fb2a088e919f93bdb5369e9c49 (diff)
downloadhercules-b3c0a6ccc854c125f481b24d57b7f2747b7200ba.tar.gz
hercules-b3c0a6ccc854c125f481b24d57b7f2747b7200ba.tar.bz2
hercules-b3c0a6ccc854c125f481b24d57b7f2747b7200ba.tar.xz
hercules-b3c0a6ccc854c125f481b24d57b7f2747b7200ba.zip
- Modified party_item_share_type config setting so that using 1 disables item-sharing from non-mob loot (player dropped items or pet loot) and 2 enables round-robin instead of random sharing. Using 3 obviously is enabling both 1 and 2.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7898 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index ed58ded57..730c15d88 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -2759,7 +2759,7 @@ int pc_takeitem(struct map_session_data *sd,struct flooritem_data *fitem)
}
//This function takes care of giving the item to whoever should have it
//considering party-share options.
- if ((flag = party_share_loot(p,sd,&fitem->item_data))) {
+ if ((flag = party_share_loot(p,sd,&fitem->item_data, fitem->first_get_id))) {
clif_additem(sd,0,0,flag);
return 1;
}