mirror of
https://github.com/bearstonem/openmohaa-vr.git
synced 2026-10-27 00:00:35 +01:00
Increase packed animation time precision
This tries to fix some client commands replaying
This commit is contained in:
1 file changed
+1
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user