From 6756fff93a95c47aa502a3a6e8ddfe985e997c4c Mon Sep 17 00:00:00 2001 From: NoFantasy Date: Sat, 21 Aug 2010 10:26:38 +0200 Subject: [PATCH] [10392] Small correction in SetReputation to avoid confusion Signed-off-by: NoFantasy --- src/game/ReputationMgr.cpp | 6 +++--- src/shared/revision_nr.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/game/ReputationMgr.cpp b/src/game/ReputationMgr.cpp index 136a95f91..7bb216dca 100644 --- a/src/game/ReputationMgr.cpp +++ b/src/game/ReputationMgr.cpp @@ -249,9 +249,9 @@ bool ReputationMgr::SetReputation(FactionEntry const* factionEntry, int32 standi if (res) { - FactionStateList::iterator itr = m_factions.find(factionEntry->reputationListID); - if (itr != m_factions.end()) - SendState(&itr->second); + FactionStateList::iterator itrstate = m_factions.find(factionEntry->reputationListID); + if (itrstate != m_factions.end()) + SendState(&itrstate->second); } } } diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index d57aecb61..bdf5b52b0 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 "10391" + #define REVISION_NR "10392" #endif // __REVISION_NR_H__