Core/Objects: fixed display DynObjects and Gameobjects on transports (again)

This commit is contained in:
Ovahlord committed 2019-07-24 22:45:49 +02:00
1 parent d206d847ba
commit 01cca0513f
1 file changed
+3
@@ -188,6 +188,9 @@ void Object::BuildCreateUpdateBlockForPlayer(UpdateData* data, Player* target) c
if (worldObject->GetAIAnimKitId() || worldObject->GetMovementAnimKitId() || worldObject->GetMeleeAnimKitId())
flags |= UPDATEFLAG_ANIMKITS;
if (!worldObject->m_movementInfo.transport.guid.IsEmpty() && (ToGameObject() || ToDynObject()))
flags |= UPDATEFLAG_GO_TRANSPORT_POSITION;
}
if (Unit const* unit = ToUnit())