summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/map/party.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/party.c b/src/map/party.c
index d40aa2852..0ece5b09e 100644
--- a/src/map/party.c
+++ b/src/map/party.c
@@ -744,7 +744,7 @@ int party_share_loot(struct party *p, TBL_PC *sd, struct item *item_data)
}
if (!target) { //Give it to the owner.
target = sd;
- if (!(i=pc_additem(sd,item_data,item_data->amount)))
+ if ((i=pc_additem(sd,item_data,item_data->amount)))
return i;
}