[10057] Type in UNIT_STAT_CONTROLLED

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
zergtmn 2010-06-14 22:07:10 +04:00 committed by VladimirMangos
parent aa5dfc2895
commit e34315f23f
4 changed files with 6 additions and 6 deletions

View file

@ -3619,7 +3619,7 @@ void Aura::HandleModPossess(bool apply, bool Real)
if( apply )
{
target->addUnitState(UNIT_STAT_CONTROLED);
target->addUnitState(UNIT_STAT_CONTROLLED);
target->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_PLAYER_CONTROLLED);
@ -3670,7 +3670,7 @@ void Aura::HandleModPossess(bool apply, bool Real)
if(m_removeMode == AURA_REMOVE_BY_DELETE)
return;
target->clearUnitState(UNIT_STAT_CONTROLED);
target->clearUnitState(UNIT_STAT_CONTROLLED);
target->CombatStop(true);
target->DeleteThreatList();