[11691] Typo in select proper spell difficulty function

This commit is contained in:
PSZ 2011-06-28 12:21:23 +04:00 committed by VladimirMangos
parent 6a142fcd55
commit bb9157c6fc
2 changed files with 2 additions and 2 deletions

View file

@ -4517,7 +4517,7 @@ SpellEntry const* GetSpellEntryByDifficulty(uint32 id, Difficulty difficulty, bo
for (Difficulty diff = difficulty; diff >= REGULAR_DIFFICULTY; diff = GetPrevDifficulty(diff, isRaid)) for (Difficulty diff = difficulty; diff >= REGULAR_DIFFICULTY; diff = GetPrevDifficulty(diff, isRaid))
{ {
if (spellDiff->spellId[diff]) if (spellDiff->spellId[diff])
return sSpellStore.LookupEntry(spellDiff->spellId[difficulty]); return sSpellStore.LookupEntry(spellDiff->spellId[diff]);
} }
return NULL; return NULL;

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__ #ifndef __REVISION_NR_H__
#define __REVISION_NR_H__ #define __REVISION_NR_H__
#define REVISION_NR "11690" #define REVISION_NR "11691"
#endif // __REVISION_NR_H__ #endif // __REVISION_NR_H__