diff options
| author | Shauren <shauren.trinity@gmail.com> | 2017-06-23 22:53:49 +0200 | 
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2017-06-23 22:53:49 +0200 | 
| commit | 312ec33f1c24a6bc564adaeb5dc97d7a8d2d8afa (patch) | |
| tree | e01f6c7b8f94eb5da7423f78bb00001a291f5605 /src | |
| parent | 8fb42e5ce2519a28adce0329580c8677f992f920 (diff) | |
Fixed crash in Object::BuildMovementUpdate
Closes #19940
Diffstat (limited to 'src')
| -rw-r--r-- | src/server/game/Entities/Object/Object.cpp | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/src/server/game/Entities/Object/Object.cpp b/src/server/game/Entities/Object/Object.cpp index a2f9654fa5f..715036b139e 100644 --- a/src/server/game/Entities/Object/Object.cpp +++ b/src/server/game/Entities/Object/Object.cpp @@ -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) | 
