From b98f45188026952d2c726d95ebe169a2f9529a75 Mon Sep 17 00:00:00 2001 From: Necrovoice Date: Thu, 9 Nov 2017 17:35:19 -0500 Subject: [PATCH] Fix Feral Swiftness talent Check for stances when re-applying passive outdoor-only spells. Credit: https://github.com/cmangos/mangos-classic/commit/180b46e993cb661f8bd8b2b0d4aa544a2ee76670 --- src/game/Object/Player.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/game/Object/Player.cpp b/src/game/Object/Player.cpp index 0f8fb7ad..65b20058 100644 --- a/src/game/Object/Player.cpp +++ b/src/game/Object/Player.cpp @@ -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); } }