Skip to content

Commit

Permalink
Reputation: Fix typo in function call
Browse files Browse the repository at this point in the history
  • Loading branch information
insunaa authored and killerwife committed Sep 18, 2024
1 parent d62ae54 commit cd48f6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game/Entities/Player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit cd48f6c

Please sign in to comment.