From 52215b43944585e7723807e7fd9e3f46b5f300f0 Mon Sep 17 00:00:00 2001 From: QAston Date: Sat, 7 Feb 2009 19:36:13 +0100 Subject: *Fix windows project files, fix a typo --HG-- branch : trunk --- src/bindings/scripts/VC71/71ScriptDev2.vcproj | 1 + src/bindings/scripts/VC80/80ScriptDev2.vcproj | 1 + src/game/Spell.cpp | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/bindings/scripts/VC71/71ScriptDev2.vcproj b/src/bindings/scripts/VC71/71ScriptDev2.vcproj index ab270b84c58..b172d13137c 100644 --- a/src/bindings/scripts/VC71/71ScriptDev2.vcproj +++ b/src/bindings/scripts/VC71/71ScriptDev2.vcproj @@ -1974,6 +1974,7 @@ + diff --git a/src/bindings/scripts/VC80/80ScriptDev2.vcproj b/src/bindings/scripts/VC80/80ScriptDev2.vcproj index e86433b3bc6..7c908f4fa4a 100644 --- a/src/bindings/scripts/VC80/80ScriptDev2.vcproj +++ b/src/bindings/scripts/VC80/80ScriptDev2.vcproj @@ -1083,6 +1083,7 @@ + diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp index 58b1465d1f9..56aae269708 100644 --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -3738,7 +3738,7 @@ uint8 Spell::CanCast(bool strict) //Must be behind the target. if( m_spellInfo->AttributesEx2 == 0x100000 && (m_spellInfo->AttributesEx & 0x200) == 0x200 && target->HasInArc(M_PI, m_caster) //Exclusion for Pounce: Facing Limitation was removed in 2.0.1, but it still uses the same, old Ex-Flags - && (m_spellInfo->SpellFamilyName != SPELLFAMILY_DRUID || !m_spellInfo->SpellFamilyFlags.IsEqual(0x20000,0,0))) + && (!(m_spellInfo->SpellFamilyName == SPELLFAMILY_DRUID && m_spellInfo->SpellFamilyFlags.IsEqual(0x20000,0,0)))) { SendInterrupted(2); return SPELL_FAILED_NOT_BEHIND; -- cgit v1.2.3