Core/Unit: Set stand state on damage only to players
(cherry picked from commit 4cc1f850670b868a1d16833a2cf5c60715f749ef)
This commit is contained in:
@@ -1040,8 +1040,8 @@ bool Unit::HasBreakableByDamageCrowdControlAura(Unit* excludeCasterChannel) cons
|
||||
}
|
||||
}
|
||||
|
||||
// check to see if victim is sitting
|
||||
if (victim->GetStandState())
|
||||
// make player victims stand up automatically
|
||||
if (victim->GetStandState() && victim->IsPlayer())
|
||||
victim->SetStandState(UNIT_STAND_STATE_STAND);
|
||||
|
||||
return damage;
|
||||
|
||||
Reference in New Issue
Block a user