mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-18 08:28:32 +01:00
*Fix the bug that sap cannot let sitting player stand.
--HG-- branch : trunk
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user