aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Reputation/ReputationMgr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/game/Reputation/ReputationMgr.cpp')
-rw-r--r--src/server/game/Reputation/ReputationMgr.cpp4
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);
}
}