Revert "Core/Entities: bring back the root/stun check on unit death - for now"

This reverts commit c5e2a9485f.
This commit is contained in:
Shauren
2025-10-26 09:55:37 +01:00
parent 288be73af1
commit dfd27d4795

View File

@@ -8761,7 +8761,7 @@ void Unit::setDeathState(DeathState s)
{
if (GetMotionMaster()->StopOnDeath())
{
if (!HasUnitState(UNIT_STATE_ROOT | UNIT_STATE_STUNNED) && GetTypeId() == TYPEID_UNIT && IsInAir(*this, GetFloorZ(), false) && !IsUnderWater())
if (GetTypeId() == TYPEID_UNIT && IsInAir(*this, GetFloorZ(), false) && !IsUnderWater())
{
GetMotionMaster()->AddFlag(MOTIONMASTER_FLAG_STATIC_PREVENT_INITIALIZATION);
SetFall(true);