summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorgepard1984 <gepard1984@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-01-09 23:51:39 +0000
committergepard1984 <gepard1984@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-01-09 23:51:39 +0000
commitfbd018466a35e9d57c1be2b8e8dc6e2904965415 (patch)
treea7cc2cb7e2fb19ec35433b2a04056af6a6ed40bd /src
parentd1ef5355c484c6de06224551caf977b0ae1d3497 (diff)
downloadhercules-fbd018466a35e9d57c1be2b8e8dc6e2904965415.tar.gz
hercules-fbd018466a35e9d57c1be2b8e8dc6e2904965415.tar.bz2
hercules-fbd018466a35e9d57c1be2b8e8dc6e2904965415.tar.xz
hercules-fbd018466a35e9d57c1be2b8e8dc6e2904965415.zip
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
Diffstat (limited to 'src')
-rw-r--r--src/map/homunculus.c1
1 files changed, 1 insertions, 0 deletions
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 ) {