Skip to content

Commit dfd27d4

Browse files
committed
Revert "Core/Entities: bring back the root/stun check on unit death - for now"
This reverts commit c5e2a94.
1 parent 288be73 commit dfd27d4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/server/game/Entities/Unit/Unit.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8761,7 +8761,7 @@ void Unit::setDeathState(DeathState s)
87618761
{
87628762
if (GetMotionMaster()->StopOnDeath())
87638763
{
8764-
if (!HasUnitState(UNIT_STATE_ROOT | UNIT_STATE_STUNNED) && GetTypeId() == TYPEID_UNIT && IsInAir(*this, GetFloorZ(), false) && !IsUnderWater())
8764+
if (GetTypeId() == TYPEID_UNIT && IsInAir(*this, GetFloorZ(), false) && !IsUnderWater())
87658765
{
87668766
GetMotionMaster()->AddFlag(MOTIONMASTER_FLAG_STATIC_PREVENT_INITIALIZATION);
87678767
SetFall(true);

0 commit comments

Comments
 (0)