aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Quests/QuestDef.cpp
diff options
context:
space:
mode:
authorRat <gmstreetrat@gmail.com>2012-01-01 22:31:48 +0100
committerRat <gmstreetrat@gmail.com>2012-01-01 22:31:48 +0100
commit0e950d5e467a63827d1e280929a2e5bd36e6dc98 (patch)
tree41c3424fe560ee1a338140203ffdf1b1ae7b6469 /src/server/game/Quests/QuestDef.cpp
parentbff7c18251e8c16dfbe3f4484a76d8df76f05076 (diff)
parentb1e19257bcd80427986cbb670cbc69c45d6154b6 (diff)
Merge branch '4.x' of git://github.com/TrinityCore/TrinityCore into 4.x
Diffstat (limited to 'src/server/game/Quests/QuestDef.cpp')
-rwxr-xr-xsrc/server/game/Quests/QuestDef.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/server/game/Quests/QuestDef.cpp b/src/server/game/Quests/QuestDef.cpp
index e5e7555330b..f0b5b11e1d8 100755
--- a/src/server/game/Quests/QuestDef.cpp
+++ b/src/server/game/Quests/QuestDef.cpp
@@ -132,16 +132,16 @@ Quest::Quest(Field* questRecord)
ObjectiveText[i] = questRecord[128+i].GetString();
for (int i = 0; i < QUEST_REWARD_CURRENCY_COUNT; ++i)
- RewardCurrencyId[i] = questRecord[132].GetUInt32();
+ RewardCurrencyId[i] = questRecord[132+i].GetUInt32();
for (int i = 0; i < QUEST_REWARD_CURRENCY_COUNT; ++i)
- RewardCurrencyCount[i] = questRecord[136].GetUInt32();
+ RewardCurrencyCount[i] = questRecord[136+i].GetUInt32();
for (int i = 0; i < QUEST_REQUIRED_CURRENCY_COUNT; ++i)
- RequiredCurrencyId[i] = questRecord[140].GetUInt32();
+ RequiredCurrencyId[i] = questRecord[140+i].GetUInt32();
for (int i = 0; i < QUEST_REQUIRED_CURRENCY_COUNT; ++i)
- RequiredCurrencyCount[i] = questRecord[144].GetUInt32();
+ RequiredCurrencyCount[i] = questRecord[144+i].GetUInt32();
QuestGiverTextWindow = questRecord[148].GetString();
QuestGiverTargetName = questRecord[149].GetString();