Core/Transports: Call GameObject::RelocateStationaryPosition when creating transport gameobject passengers

This commit is contained in:
Shauren
2015-06-30 00:05:25 +02:00
parent 622ff39f49
commit e5fd75f3d7

View File

@@ -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())
{