diff --git a/engine/client/view.c b/engine/client/view.c index 46587d5df..54c78a50c 100644 --- a/engine/client/view.c +++ b/engine/client/view.c @@ -627,6 +627,7 @@ V_UpdatePalette */ void GLV_UpdatePalette (void) { + qboolean ogw; int i, j; qboolean new; // qbyte *basepal, *newpal; @@ -636,9 +637,19 @@ void GLV_UpdatePalette (void) qboolean force; V_CalcPowerupCshift (); - + +// drop the damage value + cl.cshifts[CSHIFT_DAMAGE].percent -= host_frametime*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; + if (cl.cshifts[CSHIFT_BONUS].percent <= 0) + cl.cshifts[CSHIFT_BONUS].percent = 0; + new = false; - + for (i=0 ; i