Core/Reputation: The at-war flag is now turned off any time a player crosses a threshold increasing their reputation

This commit is contained in:
ckegg
2025-09-08 19:10:56 +02:00
committed by Shauren
parent 9fcb9c4def
commit 44b1e6e047

View File

@@ -401,6 +401,8 @@ bool ReputationMgr::SetOneFactionReputation(FactionEntry const* factionEntry, in
if (new_rank <= REP_HOSTILE)
SetAtWar(&itr->second, true);
else if (new_rank > old_rank)
SetAtWar(&itr->second, false);
if (new_rank > old_rank)
_sendFactionIncreased = true;