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; 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;