summaryrefslogtreecommitdiff
path: root/src/map/pet.c
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 /src/map/pet.c
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
Diffstat (limited to 'src/map/pet.c')
-rw-r--r--src/map/pet.c3
1 files changed, 2 insertions, 1 deletions
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);