diff options
| author | Rat <none@none> | 2009-11-12 11:53:53 +0100 |
|---|---|---|
| committer | Rat <none@none> | 2009-11-12 11:53:53 +0100 |
| commit | 030d6647b6e348e0c8a93510d7b1c1fecbfe2f29 (patch) | |
| tree | e988a528e563deeb21823858aeaf57adefdee129 /src | |
| parent | 9b3b1f65b202afafcd5021d7bee584ce34c39901 (diff) | |
*fix build
note: Compile before pushing !!!
--HG--
branch : trunk
Diffstat (limited to 'src')
| -rw-r--r-- | src/game/Player.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/Player.cpp b/src/game/Player.cpp index c8ebbad3c1d..73883735d3c 100644 --- a/src/game/Player.cpp +++ b/src/game/Player.cpp @@ -13385,9 +13385,9 @@ 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->SrcItemId[i] > 0 && pQuest->SrcItemCount[i] > 0) + if (pQuest->ReqSourceId[i] > 0 && pQuest->ReqSourceCount[i] > 0) // Destroy items recieved during the quest. - DestroyItemCount(pQuest->SrcItemId[i], pQuest->SrcItemCount[i], true, true); + DestroyItemCount(pQuest->ReqSourceId[i], pQuest->ReqSourceCount[i], true, true); } } |
