- 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://svn.code.sf.net/p/rathena/svn/trunk@5517 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
skotlex 2006-03-08 16:56:52 +00:00
parent f36f60be04
commit 2e340d40e0
2 changed files with 3 additions and 1 deletions

View File

@ -5,6 +5,8 @@ IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK. EV
GOES INTO TRUNK AND WILL BE MERGED INTO STABLE BY VALARIS AND WIZPUTER. -- VALARIS GOES INTO TRUNK AND WILL BE MERGED INTO STABLE BY VALARIS AND WIZPUTER. -- VALARIS
2006/03/08 2006/03/08
* Fixed item disappearing from the floor when you attempted to pick it up
and there was no room in your inventory. [Skotlex]
* About half-ish nj/gs skills are semi/fully-done. No effect/status yet though. [Vicious] * About half-ish nj/gs skills are semi/fully-done. No effect/status yet though. [Vicious]
* Added atcommand @whodrops which lists mobs with the top drop-rates for a * Added atcommand @whodrops which lists mobs with the top drop-rates for a
given item. List of stored mobs and their dropchances is also defined by given item. List of stored mobs and their dropchances is also defined by

View File

@ -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. if (!target) { //Give it to the owner.
target = sd; target = sd;
if (!(i=pc_additem(sd,item_data,item_data->amount))) if ((i=pc_additem(sd,item_data,item_data->amount)))
return i; return i;
} }