From: MirceaKitsune Date: Sat, 4 Sep 2010 22:32:23 +0000 (+0300) Subject: Do it properly X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=fd28b0ef5c3aeecdec5ac0c57b184455b785d617;p=voretournament%2Fvoretournament.git Do it properly --- diff --git a/data/qcsrc/client/sbar.qc b/data/qcsrc/client/sbar.qc index 496da10a..974a2ddc 100644 --- a/data/qcsrc/client/sbar.qc +++ b/data/qcsrc/client/sbar.qc @@ -2593,12 +2593,6 @@ vector Stomachstatus_Colortrans(vector target_color) local float step; step = 0.0125; - if(spectatee_status == -1 || getstati(STAT_HEALTH) <= 0) - { - colortrans_current = '0 0 0'; - return colortrans_current; - } - if(colortrans_current_x > target_color_x + step) colortrans_current_x -= step; else if(colortrans_current_x < target_color_x - step) @@ -2882,6 +2876,8 @@ void Sbar_Draw (void) Sbar_Timer(); Sbar_Reset(); + + Stomachstatus_Colortrans('0 0 0'); } else {