From: MirceaKitsune Date: Thu, 1 Mar 2012 11:54:24 +0000 (+0200) Subject: Fix the death chase camera showing while you're in a belly X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=7436b48cdf962104fa9acfb4045ee92641764a0a;p=voretournament%2Fvoretournament.git Fix the death chase camera showing while you're in a belly --- diff --git a/data/qcsrc/client/View.qc b/data/qcsrc/client/View.qc index 33a38f08..57e26285 100644 --- a/data/qcsrc/client/View.qc +++ b/data/qcsrc/client/View.qc @@ -381,7 +381,7 @@ void CSQC_UpdateView(float w, float h) // event chase camera if(cvar("chase_active") <= 0) // greater than 0 means it's enabled manually, and this code is skipped { - if(spectatee_status >= 0 && (cvar("cl_eventchase_death") && getstati(STAT_HEALTH) <= 0 && !intermission) || intermission) + if(spectatee_status >= 0 && (cvar("cl_eventchase_death") && getstati(STAT_HEALTH) <= 0 && !intermission && !getstati(STAT_VORE_EATEN)) || intermission) { // make special vector since we can't use view_origin (It is one frame old as of this code, it gets set later with the results this code makes.) vector current_view_origin = getpropertyvec(VF_ORIGIN); diff --git a/docs/TODO.txt b/docs/TODO.txt index 8a7a067b..00cc14f1 100644 --- a/docs/TODO.txt +++ b/docs/TODO.txt @@ -124,8 +124,4 @@ - 0.7 BUG: Swallow model gets bumped outside of the view at times. This is likely due to the change to offset the original weapon viewmodel. -- 0.7 BUG: Fix the following crash, apparently taking place after the tutorial map: http://pastebin.com/hz9md090 - -- 0.7: I set a different horizontal and vertical view bobbing, but the menu sliders adjust both to the same value. Fix this somehow - -- 0.7 BUG: Death chase camera activates when you're in a belly \ No newline at end of file +- 0.7 BUG: Fix the following crash, apparently taking place after the tutorial map: http://pastebin.com/hz9md090 \ No newline at end of file