From e9b108fde43a909cc2c7c9ef349af336db447da8 Mon Sep 17 00:00:00 2001 From: Daniel Svensson Date: Tue, 14 Jan 2025 22:25:59 +0100 Subject: [PATCH] CLIENT: Reset trans & colourmod in old svc_spawn(baseline|static). --- src/cl_parse.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/cl_parse.c b/src/cl_parse.c index 4cc6c8add..d3cbd106d 100644 --- a/src/cl_parse.c +++ b/src/cl_parse.c @@ -1828,6 +1828,15 @@ void CL_ParseBaseline (entity_state_t *es) es->origin[i] = MSG_ReadCoord (); es->angles[i] = MSG_ReadAngle (); } + +#ifdef FTE_PEXT_TRANS + es->trans = 0; +#endif +#ifdef FTE_PEXT_COLOURMOD + es->colourmod[0] = 0; + es->colourmod[1] = 0; + es->colourmod[2] = 0; +#endif } // An easy way to keep compatability with other entity extensions