aboutsummaryrefslogtreecommitdiff
path: root/src/game/Spell.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-01-02 10:35:19 -0600
committermegamage <none@none>2009-01-02 10:35:19 -0600
commit3deefb9f00201033728d4467180d8ba9aa265a20 (patch)
treedcd243f7f2f27f03e8c1f1d74e42aac332e508d8 /src/game/Spell.cpp
parent75f0da72eea3ab2f8a6b5a2a9bc8361c4a656afe (diff)
parentdeac8370d71c0f72b5d60709c09dc2830c1680bd (diff)
*Update to Trinity 759.
--HG-- branch : trunk
Diffstat (limited to 'src/game/Spell.cpp')
-rw-r--r--src/game/Spell.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp
index 1267d2b28aa..f4bb7eeebb6 100644
--- a/src/game/Spell.cpp
+++ b/src/game/Spell.cpp
@@ -1004,6 +1004,11 @@ void Spell::DoAllEffectOnTarget(TargetInfo *target)
{
m_caster->CombatStart(unit);
}
+ else if(spellmgr.GetSpellCustomAttr(m_spellInfo->Id) & SPELL_ATTR_CU_AURA_CC)
+ {
+ if(!unit->IsStandState())
+ unit->SetStandState(PLAYER_STATE_NONE);
+ }
}
}