mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +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)
|
if (res)
|
||||||
{
|
{
|
||||||
FactionStateList::iterator itr = m_factions.find(factionEntry->reputationListID);
|
FactionStateList::iterator itrstate = m_factions.find(factionEntry->reputationListID);
|
||||||
if (itr != m_factions.end())
|
if (itrstate != m_factions.end())
|
||||||
SendState(&itr->second);
|
SendState(&itrstate->second);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "10391"
|
#define REVISION_NR "10392"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue