Core/Unit: Fix some movement issues when leaving vehicles introduced in dce0a7d184
Sorry about that.
This commit is contained in:
1 parent
65453620e8
commit
23c5ce0e0a
2 files changed
+3
-1
No files matched your search
@@ -17043,6 +17043,8 @@ void Unit::_ExitVehicle(Position const* exitPosition)
|
||||
else
|
||||
pos = *exitPosition;
|
||||
|
||||
AddUnitState(UNIT_STATE_MOVE);
|
||||
|
||||
if (GetTypeId() == TYPEID_PLAYER)
|
||||
ToPlayer()->SetFallInformation(0, GetPositionZ());
|
||||
else if (HasUnitMovementFlag(MOVEMENTFLAG_ROOT))
|
||||
|
||||
Reference in new issue
Block a user