]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Set all angles as the camera smooths back, not only X and Y (making height annoying...
authorMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Thu, 31 Mar 2011 00:37:54 +0000 (03:37 +0300)
committerMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Thu, 31 Mar 2011 00:37:54 +0000 (03:37 +0300)
qcsrc/client/View.qc

index 3d1b8c5af880496c873aabd8fe91bab363527b00..021462ffaea4099f54b6222cbeac15f26715cb68 100644 (file)
@@ -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)
                {