From: Mircea Kitsune Date: Fri, 13 May 2011 21:07:16 +0000 (+0300) Subject: Fixes a bug with the event chasecam, which caused the intermission camera to not... X-Git-Tag: xonotic-v0.5.0~263^2~6^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=afb3c0b6811c3d9c248bdab0e6c2e76880962a4c;p=xonotic%2Fxonotic-data.pk3dir.git Fixes a bug with the event chasecam, which caused the intermission camera to not rotate properly. This seems to have been caused by not setting the view angles together with the view origin, which is actually not a good thing to do at all. --- diff --git a/qcsrc/client/View.qc b/qcsrc/client/View.qc index f1352472b..d8d5f3fba 100644 --- a/qcsrc/client/View.qc +++ b/qcsrc/client/View.qc @@ -454,6 +454,7 @@ void CSQC_UpdateView(float w, float h) eventchase_target_origin = pmove_org - v_forward * eventchase_current_distance * (trace_fraction - 0.1); R_SetView(VF_ORIGIN, eventchase_target_origin); + R_SetView(VF_ANGLES, view_angles); } else if(autocvar_chase_active < 0) // time to disable chase_active if it was set by this code {