aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormegamage <none@none>2008-12-08 19:37:23 -0600
committermegamage <none@none>2008-12-08 19:37:23 -0600
commit9632543dab66abdf6d9f2184c4f9a0a766b961c1 (patch)
tree2f1c81158c9e613afb839f274b669159aa5a940a /src
parent069ca8746ec4a4cb1fcc7d4c050ac956f3bea382 (diff)
*Remove pouce facing limitation. By Muhaha.
*Fix a typo in 427 sql. --HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/game/Spell.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp
index a5052dbf07b..8a5585aad21 100644
--- a/src/game/Spell.cpp
+++ b/src/game/Spell.cpp
@@ -3731,7 +3731,8 @@ 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) )
+ if( m_spellInfo->AttributesEx2 == 0x100000 && (m_spellInfo->AttributesEx & 0x200) == 0x200 && target->HasInArc(M_PI, m_caster)
+ && (m_spellInfo->SpellFamilyName != SPELLFAMILY_DRUID || m_spellInfo->SpellFamilyFlags != 0x0000000000020000LL))
{
SendInterrupted(2);
return SPELL_FAILED_NOT_BEHIND;