From 3766eee71b6de740dab1c53193ad86b876f3b2e1 Mon Sep 17 00:00:00 2001 From: zergtmn Date: Sun, 22 Aug 2010 11:22:42 +0200 Subject: [PATCH] [10398] Fix mixed up FactionEntry to lookup in SetReputation Signed-off-by: NoFantasy --- src/game/ReputationMgr.cpp | 2 +- src/shared/revision_nr.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game/ReputationMgr.cpp b/src/game/ReputationMgr.cpp index 7bb216dca..6075bf627 100644 --- a/src/game/ReputationMgr.cpp +++ b/src/game/ReputationMgr.cpp @@ -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); } diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 514e35e5d..515efe4e3 100644 --- a/src/shared/revision_nr.h +++ b/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__