From b8667546c904fcd8f698bb32a2859a89ec65c62e Mon Sep 17 00:00:00 2001 From: Spoike Date: Sun, 9 May 2021 13:00:43 +0000 Subject: [PATCH] The modelflags field wasn't working for trails unless the actual model already had some trail. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5835 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/client/cl_ents.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/client/cl_ents.c b/engine/client/cl_ents.c index 43ede6376..9daf3eb36 100644 --- a/engine/client/cl_ents.c +++ b/engine/client/cl_ents.c @@ -4406,7 +4406,7 @@ void CL_LinkPacketEntities (void) trailef = P_INVALID; trailidx = P_INVALID; } - if (state->effects & EF_HASPARTICLETRAIL) + if ((state->effects & EF_HASPARTICLETRAIL) || modelflags) P_DefaultTrail (state->effects, modelflags, &trailef, &trailidx); if (state->u.q1.traileffectnum) trailef = CL_TranslateParticleFromServer(state->u.q1.traileffectnum);