summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-07-13 23:34:43 +0000
committerLupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-07-13 23:34:43 +0000
commitc93e3efdd7c0809fc1d0e58074d45a3a7af29299 (patch)
tree18557895df8c34ff4249643738f856d26d39f90f
parentef9db19510cf0c8b984da209116260e79f20584a (diff)
downloadhercules-c93e3efdd7c0809fc1d0e58074d45a3a7af29299.tar.gz
hercules-c93e3efdd7c0809fc1d0e58074d45a3a7af29299.tar.bz2
hercules-c93e3efdd7c0809fc1d0e58074d45a3a7af29299.tar.xz
hercules-c93e3efdd7c0809fc1d0e58074d45a3a7af29299.zip
added missing pick_log
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12952 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--Changelog-Trunk.txt1
-rw-r--r--src/map/pet.c3
2 files changed, 3 insertions, 1 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt
index 9c3eeeb9a..434265ad1 100644
--- a/Changelog-Trunk.txt
+++ b/Changelog-Trunk.txt
@@ -10,6 +10,7 @@ IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
- there is no more locking done within storage data
- mapservers no longer cache the data (solves muiltimapserver exploit)
- loading storage on char select may decrease charserver performance
+ * Added missing picklog case [Konard]
2008/07/12
* Fixed a bad check on NPC_EVILLAND, actually healing players instead of doing damage. [Brainstorm]
2008/07/10
diff --git a/src/map/pet.c b/src/map/pet.c
index d80f82aec..5ddeb88e5 100644
--- a/src/map/pet.c
+++ b/src/map/pet.c
@@ -1047,7 +1047,8 @@ int pet_lootitem_drop(struct pet_data *pd,struct map_session_data *sd)
memcpy(&ditem->item_data, it, sizeof(struct item));
ditem->next = dlist->item;
dlist->item = ditem;
- }
+ } else
+ log_pick_pc(sd, "P", it->nameid, it->amount, it);
}
else {
ditem = ers_alloc(item_drop_ers, struct item_drop);