mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +00:00
[11691] Typo in select proper spell difficulty function
This commit is contained in:
parent
6a142fcd55
commit
bb9157c6fc
2 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||||
|
|
|
||||||
|
|
@ -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__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue