Skip to content

Commit

Permalink
[10398] Fix mixed up FactionEntry to lookup in SetReputation
Browse files Browse the repository at this point in the history
Signed-off-by: NoFantasy <nofantasy@nf.no>
  • Loading branch information
zergtmn authored and NoFantasy committed Aug 22, 2010
1 parent 0b91106 commit a85fed4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/game/ReputationMgr.cpp
Expand Up @@ -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);
}
Expand Down
2 changes: 1 addition & 1 deletion src/shared/revision_nr.h
@@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "10397"
#define REVISION_NR "10398"
#endif // __REVISION_NR_H__

0 comments on commit a85fed4

Please sign in to comment.