diff --git a/src/game/Entities/GossipDef.cpp b/src/game/Entities/GossipDef.cpp index 0595ab2b42f..66d239f5b34 100644 --- a/src/game/Entities/GossipDef.cpp +++ b/src/game/Entities/GossipDef.cpp @@ -456,9 +456,8 @@ void PlayerMenu::SendQuestGiverQuestDetails(Quest const* pQuest, ObjectGuid guid for (int i : pQuest->RewRepValueId) // columnid in QuestFactionReward.dbc (if negative, from second row) data << int32(i); - for (int i = 0; i < QUEST_REPUTATIONS_COUNT; ++i) // reward reputation override. No bonus is expected given - data << int32(0); - // data << int32(pQuest->RewRepValue[i]); // current field for store of rep value, can be reused to implement "override value" + for (int i : pQuest->RewRepValue) // reward reputation override. No bonus is expected given + data << int32(i); uint32 detailsEmotesCount = pQuest->GetDetailsEmoteCount(); data << uint32(detailsEmotesCount);