Skip to content

Commit

Permalink
Warning fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Shauren committed Dec 16, 2020
1 parent 51ebc07 commit d003f43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/game/Entities/Player/Player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6348,7 +6348,7 @@ void Player::RewardReputation(Quest const* quest)
if (!rep)
continue;

if (quest->RewardFactionCapIn[i] && rep > 0 && uint32(GetReputationMgr().GetRank(factionEntry)) >= quest->RewardFactionCapIn[i])
if (quest->RewardFactionCapIn[i] && rep > 0 && GetReputationMgr().GetRank(factionEntry) >= quest->RewardFactionCapIn[i])
continue;

if (quest->IsDaily())
Expand Down

0 comments on commit d003f43

Please sign in to comment.