X-Git-Url: https://de.git.xonotic.org/?p=voretournament%2Fvoretournament.git;a=blobdiff_plain;f=data%2Fqcsrc%2Fclient%2FView.qc;fp=data%2Fqcsrc%2Fclient%2FView.qc;h=4ae32330cffaff82eac8d8ecee237751ed20263d;hp=8a6e09f9f18def4a5386f9518d0e603d0c425b99;hb=cb5957afd2605390664b47173dd49ff84e112049;hpb=5209469a2bea02bd597584236d906d4a1e4cd632 diff --git a/data/qcsrc/client/View.qc b/data/qcsrc/client/View.qc index 8a6e09f9..4ae32330 100644 --- a/data/qcsrc/client/View.qc +++ b/data/qcsrc/client/View.qc @@ -708,6 +708,12 @@ void CSQC_UpdateView(float w, float h) liquidcolor = stov(cvar_string("hud_contents_stomach_color")); incontent = 1; } + else if(getstatf(STAT_VORE_PROGRESS_PREY)) + { + liquidalpha = cvar("hud_contents_swallow_alpha"); + liquidcolor = stov(cvar_string("hud_contents_swallow_color")); + incontent = 1; + } else { switch(pointcontents(view_origin))