aboutsummaryrefslogtreecommitdiff
path: root/src/game/Spell.cpp
diff options
context:
space:
mode:
authorQAston <none@none>2009-02-07 19:36:13 +0100
committerQAston <none@none>2009-02-07 19:36:13 +0100
commit52215b43944585e7723807e7fd9e3f46b5f300f0 (patch)
tree9ee90edbb33adcb0f7eb512108c5e4fe5ce62a30 /src/game/Spell.cpp
parenta4395bafbb614d0ddedf53800c2b5d5aa4506ef7 (diff)
*Fix windows project files, fix a typo
--HG-- branch : trunk
Diffstat (limited to 'src/game/Spell.cpp')
-rw-r--r--src/game/Spell.cpp2
1 files changed, 1 insertions, 1 deletions
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;