fix(Core/Vehicle): Fix invisible vehicle passengers (#23406)
This commit is contained in:
parent
dfd21be75b
commit
1b2db00701
7 changed files with 77 additions and 38 deletions
|
|
@ -19542,6 +19542,9 @@ void Unit::_ExitVehicle(Position const* exitPosition)
|
|||
if (!vehicleBase)
|
||||
return;
|
||||
|
||||
if (IsPlayer())
|
||||
ToPlayer()->SetExpectingChangeTransport(true);
|
||||
|
||||
SetControlled(false, UNIT_STATE_ROOT); // SMSG_MOVE_FORCE_UNROOT, ~MOVEMENTFLAG_ROOT
|
||||
|
||||
Position pos;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue