]> de.git.xonotic.org Git - voretournament/voretournament.git/blobdiff - data/qcsrc/client/View.qc
Content blur & color when being swallowed
[voretournament/voretournament.git] / data / qcsrc / client / View.qc
index 8a6e09f9f18def4a5386f9518d0e603d0c425b99..4ae32330cffaff82eac8d8ecee237751ed20263d 100644 (file)
@@ -708,6 +708,12 @@ void CSQC_UpdateView(float w, float h)
                        liquidcolor = stov(cvar_string("hud_contents_stomach_color"));\r
                        incontent = 1;\r
                }\r
+               else if(getstatf(STAT_VORE_PROGRESS_PREY))\r
+               {\r
+                       liquidalpha = cvar("hud_contents_swallow_alpha");\r
+                       liquidcolor = stov(cvar_string("hud_contents_swallow_color"));\r
+                       incontent = 1;\r
+               }\r
                else\r
                {\r
                        switch(pointcontents(view_origin))\r