From 28e3196c902c748597820d6b3f20bfc2140711a6 Mon Sep 17 00:00:00 2001 From: Mircea Kitsune Date: Thu, 31 Mar 2011 18:11:54 +0300 Subject: [PATCH] Add a comment about the usage of chase_active --- qcsrc/client/View.qc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/qcsrc/client/View.qc b/qcsrc/client/View.qc index 540c07787..842013918 100644 --- a/qcsrc/client/View.qc +++ b/qcsrc/client/View.qc @@ -409,6 +409,9 @@ void CSQC_UpdateView(float w, float h) { if((autocvar_cl_chase_death && getstati(STAT_HEALTH) <= 0 && !intermission) || (autocvar_cl_chase_intermission && intermission) && intermission <= 1) // not during the map voting screen { + // We must set chase_active in order to get a third person view (1st person weapon model hidden and own player model showing). + // Ideally, there should be another way to enable third person mode, such as an R_SetView() function specifically for this purpose. + if(!autocvar_chase_active) cvar_set("chase_active", "-1"); // -1 enables chase_active as well as marking it as set by this code, and not by the user (which would be 1) -- 2.39.2