* Remove code that was having the SrcItemId mandatorily removed on quest
* complete. If the SrcItemId is supposed to be destoryed, the item ID will be * in ReqItemId or ReqSrcItemId --HG-- branch : trunk
This commit is contained in:
+2
-1
@@ -13152,7 +13152,8 @@ void Player::RewardQuest( Quest const *pQuest, uint32 reward, Object* questGiver
|
|||||||
if (pQuest->ReqItemId[i])
|
if (pQuest->ReqItemId[i])
|
||||||
DestroyItemCount( pQuest->ReqItemId[i], pQuest->ReqItemCount[i], true);
|
DestroyItemCount( pQuest->ReqItemId[i], pQuest->ReqItemCount[i], true);
|
||||||
|
|
||||||
TakeQuestSourceItem(quest_id, true); // take quest src item from player on completing quest
|
// This is wrong. If SrcItem is supposed to be destroyed on quest complete then the item will be either in ReqItemId or ReqSrcItemId
|
||||||
|
// TakeQuestSourceItem(quest_id, true); // take quest src item from player on completing quest
|
||||||
|
|
||||||
for (uint8 i = 0; i < QUEST_SOURCE_ITEM_IDS_COUNT; ++i)
|
for (uint8 i = 0; i < QUEST_SOURCE_ITEM_IDS_COUNT; ++i)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user