diff options
author | megamage <none@none> | 2009-01-01 21:43:30 -0600 |
---|---|---|
committer | megamage <none@none> | 2009-01-01 21:43:30 -0600 |
commit | f415654302d9c0ef2909d9de1aa928fa72b399f4 (patch) | |
tree | 1d29fc72f39ec7ecdf48090494c8077468f7a3d6 /src | |
parent | 4b8d590774563c08667c5933d6ce2255c0c08108 (diff) |
*Fix the bug that sap cannot let sitting player stand.
--HG--
branch : trunk
Diffstat (limited to 'src')
-rw-r--r-- | src/game/Spell.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp index 73a0c114704..96ce55d5540 100644 --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -1091,6 +1091,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); + } } } |