* Fixed quest handler! I want to slit my own wrists everytime if have to deal

* with QuestRecord. One step closer to 3.2.2a :)

--HG--
branch : trunk
This commit is contained in:
Brian
2009-12-21 19:19:19 -07:00
parent 4cd4c4afc1
commit e760f2efac

View File

@@ -72,7 +72,7 @@ Quest::Quest(Field * questRecord)
ReqItemCount[i] = questRecord[47+i].GetUInt32();
for (int i = 0; i < QUEST_SOURCE_ITEM_IDS_COUNT; ++i)
ReqSourceId[i] = questRecord[52+i].GetUInt32();
ReqSourceId[i] = questRecord[53+i].GetUInt32();
for (int i = 0; i < QUEST_SOURCE_ITEM_IDS_COUNT; ++i)
ReqSourceCount[i] = questRecord[57+i].GetUInt32();
@@ -87,7 +87,7 @@ Quest::Quest(Field * questRecord)
ReqSpell[i] = questRecord[69+i].GetUInt32();
for (int i = 0; i < QUEST_REWARD_CHOICES_COUNT; ++i)
RewChoiceItemId[i] = questRecord[72+i].GetUInt32();
RewChoiceItemId[i] = questRecord[73+i].GetUInt32();
for (int i = 0; i < QUEST_REWARD_CHOICES_COUNT; ++i)
RewChoiceItemCount[i] = questRecord[79+i].GetUInt32();