Core/Unit: Set stand state on damage only to players

(cherry picked from commit 4cc1f85067)
This commit is contained in:
jackpoz
2021-02-06 11:20:32 +01:00
committed by Shauren
parent ca76786faf
commit 730a8da9e9

View File

@@ -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;