diff options
| author | QAston <none@none> | 2009-02-17 18:16:51 +0100 | 
|---|---|---|
| committer | QAston <none@none> | 2009-02-17 18:16:51 +0100 | 
| commit | eabb9b727b57e63e1d110787276d68164d0192e7 (patch) | |
| tree | 51eaa50005c6dc4d3a042ca530c3bbc988bd4fd1 /src/game/QuestDef.cpp | |
| parent | f271e71dc55953f9ddff9b5e33c480cbeb67dff9 (diff) | |
| parent | 5916c5a9fb4f0b09789378d211f996577ca38f65 (diff) | |
*Merge.
--HG--
branch : trunk
Diffstat (limited to 'src/game/QuestDef.cpp')
| -rw-r--r-- | src/game/QuestDef.cpp | 46 | 
1 files changed, 23 insertions, 23 deletions
diff --git a/src/game/QuestDef.cpp b/src/game/QuestDef.cpp index d07b56c6157..5d5b4bdf6f5 100644 --- a/src/game/QuestDef.cpp +++ b/src/game/QuestDef.cpp @@ -91,43 +91,43 @@ Quest::Quest(Field * questRecord)          RewChoiceItemId[i] = questRecord[71+i].GetUInt32();      for (int i = 0; i < QUEST_REWARD_CHOICES_COUNT; ++i) -        RewChoiceItemCount[i] = questRecord[78+i].GetUInt32(); +        RewChoiceItemCount[i] = questRecord[77+i].GetUInt32();      for (int i = 0; i < QUEST_REWARDS_COUNT; ++i) -        RewItemId[i] = questRecord[85+i].GetUInt32(); +        RewItemId[i] = questRecord[83+i].GetUInt32();      for (int i = 0; i < QUEST_REWARDS_COUNT; ++i) -        RewItemCount[i] = questRecord[89+i].GetUInt32(); +        RewItemCount[i] = questRecord[87+i].GetUInt32();      for (int i = 0; i < QUEST_REPUTATIONS_COUNT; ++i) -        RewRepFaction[i] = questRecord[93+i].GetUInt32(); +        RewRepFaction[i] = questRecord[91+i].GetUInt32();      for (int i = 0; i < QUEST_REPUTATIONS_COUNT; ++i) -        RewRepValue[i] = questRecord[98+i].GetInt32(); - -    RewHonorableKills = questRecord[103].GetUInt32(); -    RewOrReqMoney = questRecord[104].GetInt32(); -    RewMoneyMaxLevel = questRecord[105].GetUInt32(); -    RewSpell = questRecord[106].GetUInt32(); -    RewSpellCast = questRecord[107].GetUInt32(); -    RewMailTemplateId = questRecord[108].GetUInt32(); -    RewMailDelaySecs = questRecord[109].GetUInt32(); -    PointMapId = questRecord[110].GetUInt32(); -    PointX = questRecord[111].GetFloat(); -    PointY = questRecord[112].GetFloat(); -    PointOpt = questRecord[113].GetUInt32(); +        RewRepValue[i] = questRecord[96+i].GetInt32(); + +    RewHonorableKills = questRecord[101].GetUInt32(); +    RewOrReqMoney = questRecord[102].GetInt32(); +    RewMoneyMaxLevel = questRecord[103].GetUInt32(); +    RewSpell = questRecord[104].GetUInt32(); +    RewSpellCast = questRecord[105].GetUInt32(); +    RewMailTemplateId = questRecord[106].GetUInt32(); +    RewMailDelaySecs = questRecord[107].GetUInt32(); +    PointMapId = questRecord[108].GetUInt32(); +    PointX = questRecord[109].GetFloat(); +    PointY = questRecord[110].GetFloat(); +    PointOpt = questRecord[111].GetUInt32();      for (int i = 0; i < QUEST_EMOTE_COUNT; ++i) -        DetailsEmote[i] = questRecord[114+i].GetUInt32(); +        DetailsEmote[i] = questRecord[112+i].GetUInt32(); -    IncompleteEmote = questRecord[118].GetUInt32(); -    CompleteEmote = questRecord[119].GetUInt32(); +    IncompleteEmote = questRecord[116].GetUInt32(); +    CompleteEmote = questRecord[117].GetUInt32();      for (int i = 0; i < QUEST_EMOTE_COUNT; ++i) -        OfferRewardEmote[i] = questRecord[120+i].GetInt32(); +        OfferRewardEmote[i] = questRecord[118+i].GetInt32(); -    QuestStartScript = questRecord[124].GetUInt32(); -    QuestCompleteScript = questRecord[125].GetUInt32(); +    QuestStartScript = questRecord[122].GetUInt32(); +    QuestCompleteScript = questRecord[123].GetUInt32();      QuestFlags |= SpecialFlags << 16;  | 
