aboutsummaryrefslogtreecommitdiff
path: root/src/game/QuestDef.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-06-03 19:23:49 -0500
committermegamage <none@none>2009-06-03 19:23:49 -0500
commit8419f9b0592073f2f98352ea4d9e8b3a0bed45d6 (patch)
tree3c4cff9dd7f48b7b2c2a4b4f48e3b007889c07ce /src/game/QuestDef.cpp
parente2fcdbb8924f7e93afe84788e3be49c0a2a8d350 (diff)
[7945] Implement support quest data for DetailsEmoteDelay and OfferRewardEmoteDelay value for set time ordering details and reward emotes. Author: NoFantasy
--HG-- branch : trunk
Diffstat (limited to 'src/game/QuestDef.cpp')
-rw-r--r--src/game/QuestDef.cpp16
1 files changed, 11 insertions, 5 deletions
diff --git a/src/game/QuestDef.cpp b/src/game/QuestDef.cpp
index 8099bf40e88..013d6da1f0f 100644
--- a/src/game/QuestDef.cpp
+++ b/src/game/QuestDef.cpp
@@ -117,14 +117,20 @@ Quest::Quest(Field * questRecord)
for (int i = 0; i < QUEST_EMOTE_COUNT; ++i)
DetailsEmote[i] = questRecord[108+i].GetUInt32();
- IncompleteEmote = questRecord[112].GetUInt32();
- CompleteEmote = questRecord[113].GetUInt32();
+ for (int i = 0; i < QUEST_EMOTE_COUNT; ++i)
+ DetailsEmoteDelay[i] = questRecord[112+i].GetUInt32();
+
+ IncompleteEmote = questRecord[116].GetUInt32();
+ CompleteEmote = questRecord[117].GetUInt32();
+
+ for (int i = 0; i < QUEST_EMOTE_COUNT; ++i)
+ OfferRewardEmote[i] = questRecord[118+i].GetInt32();
for (int i = 0; i < QUEST_EMOTE_COUNT; ++i)
- OfferRewardEmote[i] = questRecord[114+i].GetInt32();
+ OfferRewardEmoteDelay[i] = questRecord[122+i].GetInt32();
- QuestStartScript = questRecord[118].GetUInt32();
- QuestCompleteScript = questRecord[119].GetUInt32();
+ QuestStartScript = questRecord[126].GetUInt32();
+ QuestCompleteScript = questRecord[127].GetUInt32();
QuestFlags |= SpecialFlags << 16;