/*
==============================================================================
- PALETTE FLASHES
+ SCREEN FLASHES
==============================================================================
*/
/*
=============
-V_UpdatePalette
+V_UpdateBlends
=============
*/
-void V_UpdatePalette (void)
+void V_UpdateBlends (void)
{
int i, j;
qboolean new;
}
// drop the damage value
- cl.cshifts[CSHIFT_DAMAGE].percent -= host_frametime*150;
+ cl.cshifts[CSHIFT_DAMAGE].percent -= (cl.time - cl.oldtime)*150;
if (cl.cshifts[CSHIFT_DAMAGE].percent <= 0)
cl.cshifts[CSHIFT_DAMAGE].percent = 0;
// drop the bonus value
- cl.cshifts[CSHIFT_BONUS].percent -= host_frametime*100;
+ cl.cshifts[CSHIFT_BONUS].percent -= (cl.time - cl.oldtime)*100;
if (cl.cshifts[CSHIFT_BONUS].percent <= 0)
cl.cshifts[CSHIFT_BONUS].percent = 0;