From a6a556ce09facff3918a33be6b976e5ccb7e1469 Mon Sep 17 00:00:00 2001 From: Shauren Date: Wed, 4 Jul 2012 18:12:29 +0200 Subject: Core: Minor startup error fixes (db structure) --- src/server/game/Quests/QuestDef.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/server/game/Quests/QuestDef.cpp') diff --git a/src/server/game/Quests/QuestDef.cpp b/src/server/game/Quests/QuestDef.cpp index 31c05c2723e..26f4ad71cda 100755 --- a/src/server/game/Quests/QuestDef.cpp +++ b/src/server/game/Quests/QuestDef.cpp @@ -61,14 +61,14 @@ Quest::Quest(Field* questRecord) SourceSpellid = questRecord[36].GetUInt32(); Flags = questRecord[37].GetUInt32(); uint32 SpecialFlags = questRecord[38].GetUInt8(); - MinimapTargetMark = questRecord[39].GetUInt32(); + MinimapTargetMark = questRecord[39].GetUInt8(); RewardTitleId = questRecord[40].GetUInt8(); RequiredPlayerKills = questRecord[41].GetUInt8(); RewardTalents = questRecord[42].GetUInt8(); RewardArenaPoints = questRecord[43].GetUInt16(); - RewardSkillId = questRecord[44].GetUInt32(); - RewardSkillPoints = questRecord[45].GetUInt32(); - RewardReputationMask = questRecord[46].GetUInt32(); + RewardSkillId = questRecord[44].GetUInt16(); + RewardSkillPoints = questRecord[45].GetUInt8(); + RewardReputationMask = questRecord[46].GetUInt8(); QuestGiverPortrait = questRecord[47].GetUInt32(); QuestTurnInPortrait = questRecord[48].GetUInt32(); @@ -147,8 +147,8 @@ Quest::Quest(Field* questRecord) QuestGiverTargetName = questRecord[149].GetString(); QuestTurnTextWindow = questRecord[150].GetString(); QuestTurnTargetName = questRecord[151].GetString(); - SoundAccept = questRecord[152].GetUInt32(); - SoundTurnIn = questRecord[153].GetUInt32(); + SoundAccept = questRecord[152].GetUInt16(); + SoundTurnIn = questRecord[153].GetUInt16(); for (int i = 0; i < QUEST_EMOTE_COUNT; ++i) DetailsEmote[i] = questRecord[154+i].GetUInt16(); -- cgit v1.2.3