From 0e869e4954ffc0095024895eebc392cb2fce0218 Mon Sep 17 00:00:00 2001 From: killerwife Date: Wed, 1 Jan 2025 12:44:29 +0100 Subject: [PATCH] Quest: Use RewRepValue as override as noted --- src/game/Entities/GossipDef.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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);