- additional check for tween-tic particle rendering, prevents jitter with timefreeze powerup

This commit is contained in:
Rachael Alexanderson 2018-02-24 16:04:20 -05:00
commit 07f168a58b
3 changed files with 3 additions and 3 deletions

View file

@ -1211,7 +1211,7 @@ void GLSprite::ProcessParticle (particle_t *particle, sector_t *sector)//, int s
}
double timefrac = r_viewpoint.TicFrac;
if (paused || bglobal.freeze)
if (paused || bglobal.freeze || (level.flags2 & LEVEL2_FROZEN))
timefrac = 0.;
float xvf = (particle->Vel.X) * timefrac;
float yvf = (particle->Vel.Y) * timefrac;