mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-28 21:02:14 +01:00
Core/Misc: Warning fix
This commit is contained in:
@@ -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