Core/Movement: fixed an issue in the spline synch packet that was causing cyclic splines to get asynch

This commit is contained in:
Ovahlord committed 2019-10-05 07:47:29 +02:00
1 parent e135d35551
commit b40b738975
2 files changed
+4 -3

No files matched your search

@@ -245,6 +245,6 @@ namespace Movement
void PacketBuilder::WriteSplineSync(MoveSpline const& moveSpline, ByteBuffer& data)
{
data << float(moveSpline.timePassed() / moveSpline.Duration());
data << (float)moveSpline.timePassed() / moveSpline.Duration();
}
}