Skip to content

Commit 154f960

Browse files
committed
Revert "Core/Entities: followup f4d8105"
This reverts commit 6afc4da.
1 parent dfd27d4 commit 154f960

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 (GetTypeId() == TYPEID_UNIT && IsInAir(*this, GetFloorZ(), false) && !IsUnderWater())
8764+
if (!HasUnitState(UNIT_STATE_ROOT | UNIT_STATE_STUNNED) && GetTypeId() == TYPEID_UNIT && ToCreature()->IsInAir(*this, GetFloorZ(), false) && !IsUnderWater())
87658765
{
87668766
GetMotionMaster()->AddFlag(MOTIONMASTER_FLAG_STATIC_PREVENT_INITIALIZATION);
87678767
SetFall(true);

0 commit comments

Comments
 (0)