From bb9157c6fc1eaa160cc3f90f0cd0c3523236ec7a Mon Sep 17 00:00:00 2001 From: PSZ Date: Tue, 28 Jun 2011 12:21:23 +0400 Subject: [PATCH] [11691] Typo in select proper spell difficulty function --- src/game/SpellMgr.cpp | 2 +- src/shared/revision_nr.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game/SpellMgr.cpp b/src/game/SpellMgr.cpp index 985fa0f30..1093f2247 100644 --- a/src/game/SpellMgr.cpp +++ b/src/game/SpellMgr.cpp @@ -4517,7 +4517,7 @@ SpellEntry const* GetSpellEntryByDifficulty(uint32 id, Difficulty difficulty, bo for (Difficulty diff = difficulty; diff >= REGULAR_DIFFICULTY; diff = GetPrevDifficulty(diff, isRaid)) { if (spellDiff->spellId[diff]) - return sSpellStore.LookupEntry(spellDiff->spellId[difficulty]); + return sSpellStore.LookupEntry(spellDiff->spellId[diff]); } return NULL; diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index d9b00ba42..ca9a4fef7 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 "11690" + #define REVISION_NR "11691" #endif // __REVISION_NR_H__