]> git.rm.cloudns.org Git - voretournament/voretournament.git/commitdiff
Base blur amount on swallow progress. The screen will blur at full configured intensi...
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Wed, 16 May 2012 11:19:24 +0000 (14:19 +0300)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Wed, 16 May 2012 11:19:24 +0000 (14:19 +0300)
data/qcsrc/client/View.qc

index 4ae32330cffaff82eac8d8ecee237751ed20263d..2ef460109ed8c78d161c47090c2d7f7af2296dad 100644 (file)
@@ -712,7 +712,7 @@ void CSQC_UpdateView(float w, float h)
                {\r
                        liquidalpha = cvar("hud_contents_swallow_alpha");\r
                        liquidcolor = stov(cvar_string("hud_contents_swallow_color"));\r
-                       incontent = 1;\r
+                       incontent = getstatf(STAT_VORE_PROGRESS_PREY); // based on the swallow progress\r
                }\r
                else\r
                {\r