Core/Misc: Warning fix
This commit is contained in:
1 parent
2e2bdec28f
commit
e62f091a4b
1 file changed
+1
-1
@@ -482,7 +482,7 @@ bool SpellHistory::HasCooldown(SpellInfo const* spellInfo, uint32 itemId /*= 0*/
|
||||
{
|
||||
for (uint32 i = 0; i < MAX_ITEM_PROTO_SPELLS; ++i)
|
||||
{
|
||||
if (itemTemplate->Spells[i].SpellId == spellInfo->Id)
|
||||
if (int32(itemTemplate->Spells[i].SpellId) == spellInfo->Id)
|
||||
{
|
||||
category = itemTemplate->Spells[i].SpellCategory;
|
||||
break;
|
||||
|
||||
Reference in new issue
Block a user