diff options
author | megamage <none@none> | 2009-05-16 15:28:37 -0500 |
---|---|---|
committer | megamage <none@none> | 2009-05-16 15:28:37 -0500 |
commit | 09407c8757f26c3585efa7d3cc5874bd3be90ebe (patch) | |
tree | 440e906c712c3df7050d5e68772bddf1f81a47bb /src/game/SpellEffects.cpp | |
parent | e4456ae9f8347a32c39fdfc3fd6cef2279996cd0 (diff) |
*Do not allow taunt affect passive creatures.
*Fix build.
--HG--
branch : trunk
Diffstat (limited to 'src/game/SpellEffects.cpp')
-rw-r--r-- | src/game/SpellEffects.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index 39d2c3796b8..27196aa9a7a 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -4067,7 +4067,7 @@ void Spell::EffectTaunt(uint32 /*i*/) unitTarget->getThreatManager().addThreat(m_caster, itsThreat - myThreat); } - if(((Creature*)unitTarget)->IsAIEnabled) + if(((Creature*)unitTarget)->IsAIEnabled && !((Creature*)unitTarget)->HasReactState(REACT_PASSIVE)) ((Creature*)unitTarget)->AI()->AttackStart(m_caster); } |