mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 17:05:44 +01:00
@@ -392,7 +392,7 @@ void Object::BuildMovementUpdate(ByteBuffer* data, uint32 flags) const
|
||||
bool HasFall = HasFallDirection || unit->m_movementInfo.jump.fallTime != 0;
|
||||
bool HasSpline = unit->IsSplineEnabled();
|
||||
|
||||
*data << GetGUID(); // MoverGUID
|
||||
*data << GetGUID(); // MoverGUID
|
||||
|
||||
*data << uint32(unit->m_movementInfo.time); // MoveTime
|
||||
*data << float(unit->GetPositionX());
|
||||
@@ -508,7 +508,7 @@ void Object::BuildMovementUpdate(ByteBuffer* data, uint32 flags) const
|
||||
if (Rotation)
|
||||
*data << uint64(ToGameObject()->GetPackedWorldRotation()); // Rotation
|
||||
|
||||
if (PauseTimes)
|
||||
if (PauseTimesCount)
|
||||
data->append(PauseTimes->data(), PauseTimes->size());
|
||||
|
||||
if (HasMovementTransport)
|
||||
|
||||
Reference in New Issue
Block a user