From cdb83dd1958ce358425044676b8761c06bd2e397 Mon Sep 17 00:00:00 2001 From: gepard1984 Date: Mon, 9 Jan 2012 23:51:39 +0000 Subject: [PATCH] Added missing logging of consumed homunculus food (bugreport:68) git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15417 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/homunculus.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/map/homunculus.c b/src/map/homunculus.c index f5d3dbcd59..c6546ce92d 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 ) {