aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrian <runningnak3d@gmail.com>2009-12-13 21:03:28 -0700
committerBrian <runningnak3d@gmail.com>2009-12-13 21:03:28 -0700
commitfa1467e9fe34e78751f984a10ffafc056863ec65 (patch)
tree140d3a9ad096302fd2654be33b86e07a1a19ebcf /src
parentbd7c6689af582a048da544f6d1c004e6eca51cad (diff)
* 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
Diffstat (limited to 'src')
-rw-r--r--src/game/Player.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/Player.cpp b/src/game/Player.cpp
index c6e762d7950..26443e9c379 100644
--- a/src/game/Player.cpp
+++ b/src/game/Player.cpp
@@ -13152,7 +13152,8 @@ void Player::RewardQuest( Quest const *pQuest, uint32 reward, Object* questGiver
if (pQuest->ReqItemId[i])
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)
{