mirror of
https://github.com/mangosfour/server.git
synced 2025-12-26 07:37:02 +00:00
[10392] Small correction in SetReputation to avoid confusion
Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
parent
9d76725a0e
commit
6756fff93a
2 changed files with 4 additions and 4 deletions
|
|
@ -249,9 +249,9 @@ bool ReputationMgr::SetReputation(FactionEntry const* factionEntry, int32 standi
|
|||
|
||||
if (res)
|
||||
{
|
||||
FactionStateList::iterator itr = m_factions.find(factionEntry->reputationListID);
|
||||
if (itr != m_factions.end())
|
||||
SendState(&itr->second);
|
||||
FactionStateList::iterator itrstate = m_factions.find(factionEntry->reputationListID);
|
||||
if (itrstate != m_factions.end())
|
||||
SendState(&itrstate->second);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue