Core/Movement: fixed an issue in the spline synch packet that was causing cyclic splines to get asynch
This commit is contained in:
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();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user