Assign a pvs sample to our particle system handled sprites. So r_ignoreentpvs being 0 will no longer break with them.
This commit is contained in:
parent
030249f713
commit
5f389d7fbc
1 changed files with 1 additions and 0 deletions
|
@ -3231,6 +3231,7 @@ void CL_UpdateExplosions (float frametime)
|
||||||
#ifdef HEXEN2
|
#ifdef HEXEN2
|
||||||
ent->drawflags = SCALE_ORIGIN_ORIGIN;
|
ent->drawflags = SCALE_ORIGIN_ORIGIN;
|
||||||
#endif
|
#endif
|
||||||
|
cl.worldmodel->funcs.FindTouchedLeafs(cl.worldmodel, &ent->pvscache, ent->origin, ent->origin);
|
||||||
|
|
||||||
if (ex->traileffect != P_INVALID)
|
if (ex->traileffect != P_INVALID)
|
||||||
pe->ParticleTrail(ent->oldorigin, ent->origin, ex->traileffect, frametime, 0, ent->axis, &(ex->trailstate));
|
pe->ParticleTrail(ent->oldorigin, ent->origin, ex->traileffect, frametime, 0, ent->axis, &(ex->trailstate));
|
||||||
|
|
Loading…
Reference in a new issue