From d74cdadc544cc2b8e6a5e1dc24df7a79db2f145f Mon Sep 17 00:00:00 2001 From: AlexDereka Date: Sun, 26 Apr 2009 20:14:05 +0400 Subject: [PATCH] [7718] Fix my typo in [7716] commit. --- src/game/Player.cpp | 6 +++--- src/shared/revision_nr.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/game/Player.cpp b/src/game/Player.cpp index 3dc6df4d6..76fe5a66d 100644 --- a/src/game/Player.cpp +++ b/src/game/Player.cpp @@ -2823,9 +2823,9 @@ bool Player::addSpell(uint32 spell_id, bool active, bool learning, bool dependen } // mark old spell as disable (SMSG_SUPERCEDED_SPELL replace it in client by new) - itr->second->active = false; - if(itr->second->state != PLAYERSPELL_NEW) - itr->second->state = PLAYERSPELL_CHANGED; + itr2->second->active = false; + if(itr2->second->state != PLAYERSPELL_NEW) + itr2->second->state = PLAYERSPELL_CHANGED; superceded_old = true; // new spell replace old in action bars and spell book. } else if(spellmgr.IsHighRankOfSpell(itr2->first,spell_id)) diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index f318175b8..ce794355b 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 "7717" + #define REVISION_NR "7718" #endif // __REVISION_NR_H__