mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 01:15:35 +01:00
Core/Transports: Call GameObject::RelocateStationaryPosition when creating transport gameobject passengers
This commit is contained in:
@@ -363,6 +363,7 @@ GameObject* Transport::CreateGOPassenger(ObjectGuid::LowType guid, GameObjectDat
|
||||
go->m_movementInfo.transport.pos.Relocate(x, y, z, o);
|
||||
CalculatePassengerPosition(x, y, z, &o);
|
||||
go->Relocate(x, y, z, o);
|
||||
go->RelocateStationaryPosition(x, y, z, o);
|
||||
|
||||
if (!go->IsPositionValid())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user