mirror of
https://github.com/mangosfour/server.git
synced 2025-12-26 07:37:02 +00:00
[10398] Fix mixed up FactionEntry to lookup in SetReputation
Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
parent
927e9d77f0
commit
3766eee71b
2 changed files with 2 additions and 2 deletions
|
|
@ -249,7 +249,7 @@ bool ReputationMgr::SetReputation(FactionEntry const* factionEntry, int32 standi
|
|||
|
||||
if (res)
|
||||
{
|
||||
FactionStateList::iterator itrstate = m_factions.find(factionEntry->reputationListID);
|
||||
FactionStateList::iterator itrstate = m_factions.find(factionEntryCalc->reputationListID);
|
||||
if (itrstate != m_factions.end())
|
||||
SendState(&itrstate->second);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue