aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/bindings/scripts/VC71/71ScriptDev2.vcproj1
-rw-r--r--src/bindings/scripts/VC80/80ScriptDev2.vcproj1
-rw-r--r--src/game/Spell.cpp2
3 files changed, 3 insertions, 1 deletions
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 @@
<File
RelativePath="..\scripts\zone\borean_tundra\borean_tundra.cpp"
>
+ </File>
</Filter>
<Filter
Name="Howling Fjord">
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 @@
<File
RelativePath="..\scripts\zone\borean_tundra\borean_tundra.cpp"
>
+ </File>
</Filter>
<Filter
Name="Howling Fjord">
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;