mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 21:57:57 +03:00
Increase packed animation time precision
This tries to fix some client commands replaying
This commit is contained in:
parent
6934e5cff8
commit
da7cd03f09
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue