Fix Feral Swiftness talent

Check for stances when re-applying passive outdoor-only spells.

Credit:
180b46e993
This commit is contained in:
Necrovoice 2017-11-09 17:35:19 -05:00
parent 6b82018c2a
commit b98f451880

View File

@ -5756,7 +5756,8 @@ void Player::CheckAreaExploreAndOutdoor()
ShapeshiftForm form = GetShapeshiftForm();
if (!(spellInfo->Stances & (1 << (form - 1))))
{ continue; }
if ((spellInfo->Stances || spellInfo->StancesNot) && !IsNeedCastSpellAtFormApply(spellInfo, GetShapeshiftForm()))
continue;
CastSpell(this, itr->first, true, NULL);
}
}