--HG--
branch : trunk
This commit is contained in:
Rat
2009-11-12 11:57:10 +01:00
parent 030d6647b6
commit bf2520e207

View File

@@ -13385,7 +13385,7 @@ void Player::FailQuest(uint32 questId)
// Destroy items recieved on starting the quest.
DestroyItemCount(pQuest->ReqItemId[i], pQuest->ReqItemCount[i], true, true);
for (uint8 i = 0; i < QUEST_SOURCE_ITEM_IDS_COUNT; ++i)
if (pQuest->ReqSourceId[i] > 0 && pQuest->ReqSourceCount[i] > 0)
if (pQuest->ReqSourceId[i] > 0 && pQuest->ReqSourceCount[i] > 0)
// Destroy items recieved during the quest.
DestroyItemCount(pQuest->ReqSourceId[i], pQuest->ReqSourceCount[i], true, true);
}