Core/Spells: Rename SpellAttr0 to use official attribute names
This commit is contained in:
1 parent
24b84ba980
commit
d448ea4370
15 files changed
+104
-104
No files matched your search
@@ -96,7 +96,7 @@ void WorldSession::HandlePetAction(WorldPacket& recvData)
|
||||
SpellInfo const* spell = (flag == ACT_ENABLED || flag == ACT_PASSIVE) ? sSpellMgr->GetSpellInfo(spellid) : nullptr;
|
||||
if (!spell)
|
||||
return;
|
||||
if (!spell->HasAttribute(SPELL_ATTR0_CASTABLE_WHILE_DEAD))
|
||||
if (!spell->HasAttribute(SPELL_ATTR0_ALLOW_CAST_WHILE_DEAD))
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user