]> git.rm.cloudns.org Git - voretournament/voretournament.git/commitdiff
Only fade out the stomach splash if we're still alive.
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Fri, 25 Feb 2011 23:15:22 +0000 (01:15 +0200)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Fri, 25 Feb 2011 23:15:22 +0000 (01:15 +0200)
data/qcsrc/client/View.qc

index 0045ac9da277d8ac05a1e239068192896a10d47b..9f517b2094eb5b7731b4ea1971a0114cad536ae1 100644 (file)
@@ -600,7 +600,7 @@ void CSQC_UpdateView(float w, float h)
                        else\r
                                stomachsplash_alpha = cvar("hud_stomach");\r
                }\r
-               else\r
+               else if(getstati(STAT_HEALTH) > 0)\r
                {\r
                        if(stomachsplash_alpha > 0)\r
                                stomachsplash_alpha -= cvar("hud_stomach_fade_out") * frametime;\r