From a7c13ebfd57151e631f025272cb95e2e20dc4dca Mon Sep 17 00:00:00 2001 From: MirceaKitsune Date: Sat, 26 Feb 2011 01:15:22 +0200 Subject: [PATCH] Only fade out the stomach splash if we're still alive. --- data/qcsrc/client/View.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.2