Core/Objects: fixed display DynObjects and Gameobjects on transports (again)
This commit is contained in:
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())
|
||||
|
||||
Reference in new issue
Block a user