From 6201e039c4e08302d55a4c57bbd044e24c9ee456 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Wed, 21 Dec 2011 10:15:37 +0100 Subject: [PATCH] trust view_angles no matter what the view entity is --- qcsrc/csqcmodel/cl_player.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/csqcmodel/cl_player.qc b/qcsrc/csqcmodel/cl_player.qc index de168f323..21808f0f9 100644 --- a/qcsrc/csqcmodel/cl_player.qc +++ b/qcsrc/csqcmodel/cl_player.qc @@ -233,7 +233,7 @@ void CSQCPlayer_SetCamera() { // legacy code, not totally correct, but good enough for not having V_CalcRefdef setproperty(VF_ORIGIN, view.origin + '0 0 1' * getstati(STAT_VIEWHEIGHT)); - setproperty(VF_ANGLES, view.angles); + setproperty(VF_ANGLES, view_angles); } else #endif -- 2.39.2