9
3

2 Ревизии baff7ced26 ... 7757bc249a

Автор SHA1 Съобщение Дата
  Robert Allen 7757bc249a Merge branch 'master' of https://git.eq2emu.com/devn00b/EQ2EMu преди 1 година
  Robert Allen e6ddd1ac80 Update Recipe.cpp преди 1 година
променени са 1 файла, в които са добавени 2 реда и са изтрити 1 реда
  1. 2 1
      EQ2/source/WorldServer/Recipes/Recipe.cpp

+ 2 - 1
EQ2/source/WorldServer/Recipes/Recipe.cpp

@@ -411,7 +411,8 @@ EQ2Packet * Recipe::SerializeRecipe(Client *client, Recipe *recipe, bool display
 	
 	
 	
-	item = master_item_list.GetItemByName(recipe->GetName());// TODO: MJ we should be getting item by item number in case of multiple items with same name
+	//item = master_item_list.GetItemByName(recipe->GetName());// TODO: MJ we should be getting item by item number in case of multiple items with same name
+	item = master_item_list.GetItem(recipe->GetProductID());
 	if(item) {
 		packet->setSubstructDataByName("recipe_info", "product_icon", item->details.icon); //item->details.icon);
 		packet->setSubstructDataByName("recipe_info", "product_name", item->name.c_str()); //item->name);