diff options
author | Shauren <shauren.trinity@gmail.com> | 2025-05-22 13:46:45 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2025-05-22 13:46:45 +0200 |
commit | b7122c2f6a0c6eef9d58439aac4090ddcee24a2e (patch) | |
tree | 3e0ae343ab01f36887c28a7274ae2cfc24167697 /src/server/game/Reputation/ReputationMgr.cpp | |
parent | eb032a30731fc833836ca7fcff8b538bdf74196e (diff) |
Core/PacketIO: Migration to PacketUtilities bit/string operations part 3
Diffstat (limited to 'src/server/game/Reputation/ReputationMgr.cpp')
-rw-r--r-- | src/server/game/Reputation/ReputationMgr.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/game/Reputation/ReputationMgr.cpp b/src/server/game/Reputation/ReputationMgr.cpp index ed049e73cf6..a512a9eb018 100644 --- a/src/server/game/Reputation/ReputationMgr.cpp +++ b/src/server/game/Reputation/ReputationMgr.cpp @@ -338,7 +338,7 @@ void ReputationMgr::SendState(FactionState const* faction) }; if (faction) - setFactionStanding.Faction.emplace_back(int32(faction->ReputationListID), getStandingForPacket(faction)); + setFactionStanding.Faction.emplace_back(int32(faction->ReputationListID), getStandingForPacket(faction), faction->ID); for (auto& [reputationIndex, state] : _factions) { @@ -346,7 +346,7 @@ void ReputationMgr::SendState(FactionState const* faction) { state.needSend = false; if (!faction || state.ReputationListID != faction->ReputationListID) - setFactionStanding.Faction.emplace_back(int32(state.ReputationListID), getStandingForPacket(&state)); + setFactionStanding.Faction.emplace_back(int32(state.ReputationListID), getStandingForPacket(&state), faction->ID); } } |