]> de.git.xonotic.org Git - voretournament/voretournament.git/commitdiff
Fix the death chase camera showing while you're in a belly
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Thu, 1 Mar 2012 11:54:24 +0000 (13:54 +0200)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Thu, 1 Mar 2012 11:54:24 +0000 (13:54 +0200)
data/qcsrc/client/View.qc
docs/TODO.txt

index 33a38f082ab1ae4af581f2da597405c785bb1a3e..57e26285f7ca91222db35441e3ef655ee3d7b1f2 100644 (file)
@@ -381,7 +381,7 @@ void CSQC_UpdateView(float w, float h)
        // event chase camera\r
        if(cvar("chase_active") <= 0) // greater than 0 means it's enabled manually, and this code is skipped\r
        {\r
-               if(spectatee_status >= 0 && (cvar("cl_eventchase_death") && getstati(STAT_HEALTH) <= 0 && !intermission) || intermission)\r
+               if(spectatee_status >= 0 && (cvar("cl_eventchase_death") && getstati(STAT_HEALTH) <= 0 && !intermission && !getstati(STAT_VORE_EATEN)) || intermission)\r
                {\r
                        // 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.)\r
                        vector current_view_origin = getpropertyvec(VF_ORIGIN);\r
index 8a7a067bfc60c7d1544bf10cfc14d17b299dbf06..00cc14f1598ad6c44c0aed7e30206c250401ecfa 100644 (file)
 \r
 - 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.\r
 \r
-- 0.7 BUG: Fix the following crash, apparently taking place after the tutorial map: http://pastebin.com/hz9md090\r
-\r
-- 0.7: I set a different horizontal and vertical view bobbing, but the menu sliders adjust both to the same value. Fix this somehow\r
-\r
-- 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