Core/Objects: use the new transport path progress timer for sending out transports
This commit is contained in:
1 parent
2dfc4eaa83
commit
06934d96b6
1 file changed
+1
-1
@@ -648,7 +648,7 @@ void Object::BuildMovementUpdate(ByteBuffer* data, uint16 flags) const
|
||||
if (GameObject const* go = ToGameObject())
|
||||
{
|
||||
if (go->IsDynTransport())
|
||||
*data << uint32(go->ToTransport()->GetPathProgress());
|
||||
*data << uint32(go->ToTransport()->GetCurrentTransportTime());
|
||||
else
|
||||
*data << uint32(getMSTime());
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user