From 57206b3651d4f6e5085f900df134c5eae58888e7 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Sun, 21 Jun 2026 10:13:46 +0500 Subject: [PATCH] client: parse: fix svc_spawnbaseline entity type delta table determine order --- engine/client/parse/cl_parse.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engine/client/parse/cl_parse.c b/engine/client/parse/cl_parse.c index 7624a73c..77fe1d8e 100644 --- a/engine/client/parse/cl_parse.c +++ b/engine/client/parse/cl_parse.c @@ -1186,8 +1186,8 @@ void CL_ParseBaseline( sizebuf_t *msg, connprotocol_t proto ) int type = MSG_ReadUBitLong( msg, 2 ); int delta_type; - if( player ) delta_type = DT_ENTITY_STATE_PLAYER_T; - else if( type != ENTITY_NORMAL ) delta_type = DT_CUSTOM_ENTITY_STATE_T; + if( FBitSet( type, ENTITY_BEAM )) delta_type = DT_CUSTOM_ENTITY_STATE_T; + else if( player ) delta_type = DT_ENTITY_STATE_PLAYER_T; else delta_type = DT_ENTITY_STATE_T; Delta_ReadGSFields( msg, delta_type, &ent->prevstate, &ent->baseline, 1.0f );