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
This commit is contained in:
gepard1984 2012-01-09 23:51:39 +00:00
parent 7b4a3be314
commit cdb83dd195

View File

@ -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 ) {