fix(build): add casting to uint32

This commit is contained in:
Helias
2020-04-18 14:29:37 +02:00
parent 63a914a4f9
commit 91b8bbdf0b

View File

@@ -233,7 +233,7 @@ class LearnSpellsOnLevelUp : public PlayerScript
continue;
if (DisableMgr::IsDisabledFor(DISABLE_TYPE_SPELL, spellInfo->Id, player))
continue;
if (spellInfo->BaseLevel != level && sSpellMgr->IsSpellValid(spellInfo))
if (spellInfo->BaseLevel != uint32(level) && sSpellMgr->IsSpellValid(spellInfo))
continue;
bool valid = false;