From 15976eb40c2689d53d537ab425447eca572d9e7e Mon Sep 17 00:00:00 2001 From: skotlex Date: Fri, 30 Jun 2006 13:53:13 +0000 Subject: - Moved item group enumeration from itemdb.h to map.h - Cleanup in itemheal related code, fixed the item heal group bonus not working on Groups beyond 7. - Fixed pet's loot not being moved to your inventory on logout. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7419 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/unit.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/map/unit.c') 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); -- cgit v1.2.3-70-g09d2