diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-03-08 16:56:52 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-03-08 16:56:52 +0000 |
commit | 5b66de5f6d2e126c05603c559430368b5aac156a (patch) | |
tree | 4c3a4a8a897fb14cf771214eb824480b8cd061ce /src/map/party.c | |
parent | e8992735bbfb5311db7669955757a06469b6952c (diff) | |
download | hercules-5b66de5f6d2e126c05603c559430368b5aac156a.tar.gz hercules-5b66de5f6d2e126c05603c559430368b5aac156a.tar.bz2 hercules-5b66de5f6d2e126c05603c559430368b5aac156a.tar.xz hercules-5b66de5f6d2e126c05603c559430368b5aac156a.zip |
- Fixed item disappearing from the floor when you attempted to pick it up and there was no room in your inventory.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5517 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/party.c')
-rw-r--r-- | src/map/party.c | 2 |
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;
}
|