engine: net_encode.c, net_buffer.c inline functions optimization

This commit is contained in:
Crow-bar
2022-10-04 10:31:33 +03:00
parent 01affdcbbd
commit e66400ca39
3 changed files with 9 additions and 17 deletions
-4
View File
@@ -1134,11 +1134,7 @@ write fields by offsets
assume from and to is valid
=====================
*/
#if XASH_EXT_OPT == 2
_inline qboolean Delta_WriteField( sizebuf_t *msg, delta_t *pField, void *from, void *to, float timebase )
#else
qboolean Delta_WriteField( sizebuf_t *msg, delta_t *pField, void *from, void *to, float timebase )
#endif
{
qboolean bSigned = ( pField->flags & DT_SIGNED ) ? true : false;
float flValue, flAngle, flTime;