float drawdist2;
frametime = bound(0, cl.time - cl.decals_updatetime, 1);
- cl.decals_updatetime += frametime;
+ cl.decals_updatetime = bound(cl.time - 1, cl.decals_updatetime + frametime, cl.time + 1);
// LordHavoc: early out conditions
if ((!cl.num_decals) || (!r_drawdecals.integer))
qboolean update;
frametime = bound(0, cl.time - cl.particles_updatetime, 1);
- cl.particles_updatetime += frametime;
+ cl.particles_updatetime = bound(cl.time - 1, cl.particles_updatetime + frametime, cl.time + 1);
// LordHavoc: early out conditions
if ((!cl.num_particles) || (!r_drawparticles.integer))