mirror of
https://github.com/azerothcore/mod-learn-spells.git
synced 2026-02-07 20:51:13 +00:00
fix(build): add casting to uint32
This commit is contained in:
@@ -233,7 +233,7 @@ class LearnSpellsOnLevelUp : public PlayerScript
|
|||||||
continue;
|
continue;
|
||||||
if (DisableMgr::IsDisabledFor(DISABLE_TYPE_SPELL, spellInfo->Id, player))
|
if (DisableMgr::IsDisabledFor(DISABLE_TYPE_SPELL, spellInfo->Id, player))
|
||||||
continue;
|
continue;
|
||||||
if (spellInfo->BaseLevel != level && sSpellMgr->IsSpellValid(spellInfo))
|
if (spellInfo->BaseLevel != uint32(level) && sSpellMgr->IsSpellValid(spellInfo))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
bool valid = false;
|
bool valid = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user