diff options
author | Ovahlord <dreadkiller@gmx.de> | 2024-06-16 19:20:01 +0200 |
---|---|---|
committer | Ovahlord <dreadkiller@gmx.de> | 2024-06-16 19:20:01 +0200 |
commit | d47f78b8c65e1f86c1dd5b6b6ec75a62daec5efa (patch) | |
tree | 9073f0b0a95c0d2acfbbfca5ffb2efd7c402f89f /src | |
parent | bc3afedbacb9bc9b407431baa9f28de0dc58be33 (diff) |
Core/Quests: fixed loading quest item choice reward count
Diffstat (limited to 'src')
-rw-r--r-- | src/server/game/Quests/QuestDef.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/game/Quests/QuestDef.cpp b/src/server/game/Quests/QuestDef.cpp index 1b70a3704f5..23403d6acc2 100644 --- a/src/server/game/Quests/QuestDef.cpp +++ b/src/server/game/Quests/QuestDef.cpp @@ -72,8 +72,8 @@ Quest::Quest(Field* questRecord) for (uint32 i = 0; i < QUEST_REWARD_CHOICES_COUNT; ++i) { RewardChoiceItemId[i] = questRecord[42 + i * 3].GetUInt32(); - RewardChoiceItemCount[i] = questRecord[44 + i * 3].GetUInt32(); - RewardChoiceItemDisplayId[i] = questRecord[45 + i * 3].GetUInt32(); + RewardChoiceItemCount[i] = questRecord[43 + i * 3].GetUInt32(); + RewardChoiceItemDisplayId[i] = questRecord[44 + i * 3].GetUInt32(); if (RewardChoiceItemId[i]) ++_rewChoiceItemsCount; |