From fbd018466a35e9d57c1be2b8e8dc6e2904965415 Mon Sep 17 00:00:00 2001 From: gepard1984 Date: Mon, 9 Jan 2012 23:51:39 +0000 Subject: Added missing logging of consumed homunculus food (bugreport:68) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15417 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/homunculus.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/map/homunculus.c') diff --git a/src/map/homunculus.c b/src/map/homunculus.c index f5d3dbcd5..c6546ce92 100644 --- a/src/map/homunculus.c +++ b/src/map/homunculus.c @@ -445,6 +445,7 @@ int merc_hom_food(struct map_session_data *sd, struct homun_data *hd) clif_hom_food(sd,foodID,0); return 1; } + log_pick_pc(sd, LOG_TYPE_CONSUME, sd->status.inventory[i].nameid, -1, &sd->status.inventory[i]); pc_delitem(sd,i,1,0,0); if ( hd->homunculus.hunger >= 91 ) { -- cgit v1.2.3-60-g2f50