mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 21:57:57 +03:00
Fixed MSG_WritePackedAnimTime not writing the animation time sometimes
This commit is contained in:
parent
8ae15be0de
commit
6c65bba279
1 changed files with 1 additions and 1 deletions
|
@ -2240,7 +2240,7 @@ void MSG_WritePackedAnimTime_ver_15(msg_t* msg, float fromValue, float toValue,
|
|||
{
|
||||
int packed;
|
||||
|
||||
if (fabs(fromValue - toValue) < frameTime) {
|
||||
if (fabs(toValue - fromValue - frameTime) < 0.001f) {
|
||||
// below the frame time, don't send
|
||||
MSG_WriteBits(msg, 0, 1);
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue