mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 10: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);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "10397"
|
||||
#define REVISION_NR "10398"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue