[10398] Fix mixed up FactionEntry to lookup in SetReputation

Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
zergtmn 2010-08-22 11:22:42 +02:00 committed by NoFantasy
parent 927e9d77f0
commit 3766eee71b
2 changed files with 2 additions and 2 deletions

View file

@ -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);
}

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "10397"
#define REVISION_NR "10398"
#endif // __REVISION_NR_H__