]> de.git.xonotic.org Git - voretournament/voretournament.git/blobdiff - data/qcsrc/client/View.qc
Fix the death chase camera showing while you're in a belly
[voretournament/voretournament.git] / data / qcsrc / client / View.qc
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