Increase packed animation time precision

This tries to fix some client commands replaying
This commit is contained in:
smallmodel committed 2024-10-27 13:42:42 +01:00
1 parent 6934e5cff8
commit da7cd03f09
1 file changed
+1 -1
+1 -1
View File
@@ -2263,7 +2263,7 @@ float MSG_ReadPackedAnimTime_ver_15(msg_t* msg, int bits, float fromValue, float
{
int packed;
if (!MSG_ReadBits(msg, 1)) {
return ceil((fromValue + frameTime) * 1000) / 1000;
return ceil((fromValue + frameTime) * 10000) / 10000;
}
packed = MSG_ReadBits(msg, bits);