瀏覽代碼

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
gepard1984 13 年之前
父節點
當前提交
cdb83dd195
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/map/homunculus.c

+ 1 - 0
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 ) {