summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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);