mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-14 16:14:38 +00:00
fix AnimValue smooth values on clients
the dbs were not transmitting the bools
This commit is contained in:
parent
9d4bfec4d1
commit
80c49ec692
1 changed files with 2 additions and 0 deletions
|
|
@ -244,6 +244,7 @@ void LightAnimData::AnimValue<COUNT>::write( BitStream *stream ) const
|
||||||
stream->write( value2[i] );
|
stream->write( value2[i] );
|
||||||
stream->write( period[i] );
|
stream->write( period[i] );
|
||||||
stream->writeString( keys[i] );
|
stream->writeString( keys[i] );
|
||||||
|
stream->writeFlag(smooth[i]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -256,6 +257,7 @@ void LightAnimData::AnimValue<COUNT>::read( BitStream *stream )
|
||||||
stream->read( &value2[i] );
|
stream->read( &value2[i] );
|
||||||
stream->read( &period[i] );
|
stream->read( &period[i] );
|
||||||
keys[i] = stream->readSTString();
|
keys[i] = stream->readSTString();
|
||||||
|
smooth[i] = stream->readFlag();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue