summaryrefslogtreecommitdiff
path: root/src/map/unit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/unit.c')
-rw-r--r--src/map/unit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/unit.c b/src/map/unit.c
index 5137d5f71..304160fe8 100644
--- a/src/map/unit.c
+++ b/src/map/unit.c
@@ -1658,6 +1658,7 @@ int unit_free(struct block_list *bl) {
}
if (pd->loot)
{
+ pet_lootitem_drop(pd,sd);
if (pd->loot->item)
aFree(pd->loot->item);
aFree (pd->loot);