Skip to content

Commit

Permalink
Quest: Use RewRepValue as override as noted
Browse files Browse the repository at this point in the history
  • Loading branch information
killerwife committed Jan 1, 2025
1 parent 770a49c commit 0e869e4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/game/Entities/GossipDef.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 0e869e4

Please sign in to comment.