aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNay <dnpd.dd@gmail.com>2011-12-27 15:33:56 +0000
committerNay <dnpd.dd@gmail.com>2011-12-27 15:33:56 +0000
commit8cf68fd1edb945456cc654377005fcac0c90c550 (patch)
treedb765cb9def0e1f788e38261fa4df315d906c74f /src
parentfa9daaf95b9f09f3a442087cbc59abc782814c63 (diff)
Core/Quests: Fix a couple of typos in quest DB loading. Thanks Spp.
Diffstat (limited to 'src')
-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();