chore(Core/Spells): Fix compile warning (#19278)
* chore(Core/Spells): Fix compile warning * s
This commit is contained in:
parent
96e94cd95d
commit
8bca8a45ed
1 changed files with 1 additions and 1 deletions
|
|
@ -2011,7 +2011,7 @@ void AuraEffect::HandleAuraModShapeshift(AuraApplication const* aurApp, uint8 mo
|
|||
if (modelid > 0)
|
||||
{
|
||||
bool allow = true;
|
||||
if (target->getTransForm() && !target->GetMapId() == 560 /*The Escape From Durnholde*/)
|
||||
if (target->getTransForm() && !(target->GetMapId() == 560 /*The Escape From Durnholde*/))
|
||||
if (SpellInfo const* transformSpellInfo = sSpellMgr->GetSpellInfo(target->getTransForm()))
|
||||
if (transformSpellInfo->HasAttribute(SPELL_ATTR0_NO_IMMUNITIES) || !transformSpellInfo->IsPositive())
|
||||
allow = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue