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
This commit is contained in:
Spoike 2021-05-09 13:00:43 +00:00
parent 11ed815a7f
commit b8667546c9

View file

@ -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);