From fe2a4d04283e52e7ba22cc299e75089798a17fe6 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Thu, 10 Oct 2024 23:36:49 +0300 Subject: [PATCH] engine: common: net_encode: remove DT_SIGNED_GS flag just in case --- engine/common/net_encode.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/engine/common/net_encode.c b/engine/common/net_encode.c index 0dba952d..f87de4e1 100644 --- a/engine/common/net_encode.c +++ b/engine/common/net_encode.c @@ -670,8 +670,10 @@ void Delta_ParseTableField_GS( sizebuf_t *msg ) // patch our DT_SIGNED flag if( FBitSet( to.fieldType, DT_SIGNED_GS )) + { + ClearBits( to.fieldType, DT_SIGNED_GS ); SetBits( to.fieldType, DT_SIGNED ); - + } Delta_AddField( dt, to.fieldName, to.fieldType, to.significant_bits, to.premultiply, to.postmultiply ); }