From cd48f6c10ffde4064ac02b1fca986a97c5c2e83e Mon Sep 17 00:00:00 2001 From: insunaa Date: Tue, 20 Aug 2024 20:31:52 +0200 Subject: [PATCH] Reputation: Fix typo in function call --- src/game/Entities/Player.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/Entities/Player.cpp b/src/game/Entities/Player.cpp index 5825914d726..fdec2ff3d23 100644 --- a/src/game/Entities/Player.cpp +++ b/src/game/Entities/Player.cpp @@ -7150,7 +7150,7 @@ void Player::RewardReputation(Quest const* pQuest) if (!repPoints) continue; - repPoints = CalculateReputationGain(REPUTATION_SOURCE_QUEST, repPoints, pQuest->RewRepFaction[i], pQuest->RewMaxRepValue[i], GetQuestLevelForPlayer(pQuest)); + repPoints = CalculateReputationGain(REPUTATION_SOURCE_QUEST, repPoints, pQuest->RewMaxRepValue[i], pQuest->RewRepFaction[i], GetQuestLevelForPlayer(pQuest)); if (const FactionEntry* factionEntry = sFactionStore.LookupEntry(pQuest->RewRepFaction[i])) GetReputationMgr().ModifyReputation(factionEntry, repPoints);