From: MirceaKitsune Date: Fri, 25 Feb 2011 23:15:22 +0000 (+0200) Subject: Only fade out the stomach splash if we're still alive. X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=a7c13ebfd57151e631f025272cb95e2e20dc4dca;p=voretournament%2Fvoretournament.git Only fade out the stomach splash if we're still alive. --- diff --git a/data/qcsrc/client/View.qc b/data/qcsrc/client/View.qc index 0045ac9d..9f517b20 100644 --- a/data/qcsrc/client/View.qc +++ b/data/qcsrc/client/View.qc @@ -600,7 +600,7 @@ void CSQC_UpdateView(float w, float h) else stomachsplash_alpha = cvar("hud_stomach"); } - else + else if(getstati(STAT_HEALTH) > 0) { if(stomachsplash_alpha > 0) stomachsplash_alpha -= cvar("hud_stomach_fade_out") * frametime;