From: Mircea Kitsune Date: Thu, 31 Mar 2011 00:37:54 +0000 (+0300) Subject: Set all angles as the camera smooths back, not only X and Y (making height annoying... X-Git-Tag: xonotic-v0.5.0~268^2^2~33 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=d8ddc6f0fdda987a3739c3d7222c4ee000de18f0;p=xonotic%2Fxonotic-data.pk3dir.git Set all angles as the camera smooths back, not only X and Y (making height annoying when moving the mouse) --- diff --git a/qcsrc/client/View.qc b/qcsrc/client/View.qc index 3d1b8c5af..021462ffa 100644 --- a/qcsrc/client/View.qc +++ b/qcsrc/client/View.qc @@ -419,8 +419,7 @@ void CSQC_UpdateView(float w, float h) chase_current_distance = autocvar_cl_chase_distance; makevectors(view_angles); - R_SetView(VF_ORIGIN_X, pmove_org_x - view_forward_x * chase_current_distance); - R_SetView(VF_ORIGIN_Y, pmove_org_y - view_forward_y * chase_current_distance); + R_SetView(VF_ORIGIN, pmove_org - view_forward * chase_current_distance); } else if(autocvar_chase_active < 0) {