diff options
author | thestrangerplana <141142490+thestrangerplana@users.noreply.github.com> | 2025-08-31 12:53:35 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-08-31 21:53:35 +0200 |
commit | 629d845ae913b9844616c892dd8b2a63c2a0fefb (patch) | |
tree | 341986734b8f43d594a465081dd5bf98fbb16993 | |
parent | 2a872d2cc23a91178167c92c54fb84adfa1a379c (diff) |
Core/Reputation: Fix ReputationMgr crash at first character login due to AllReputation config (#31246)
-rw-r--r-- | src/server/game/Reputation/ReputationMgr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Reputation/ReputationMgr.cpp b/src/server/game/Reputation/ReputationMgr.cpp index a8973df150c..f5463a420d3 100644 --- a/src/server/game/Reputation/ReputationMgr.cpp +++ b/src/server/game/Reputation/ReputationMgr.cpp @@ -352,7 +352,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), faction->ID); + setFactionStanding.Faction.emplace_back(int32(state.ReputationListID), getStandingForPacket(&state), state.ID); } } |