From: Rudolf Polzer Date: Wed, 21 Dec 2011 09:15:37 +0000 (+0100) Subject: trust view_angles no matter what the view entity is X-Git-Tag: xonotic-v0.6.0~74^2~85 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=6201e039c4e08302d55a4c57bbd044e24c9ee456;p=xonotic%2Fxonotic-data.pk3dir.git trust view_angles no matter what the view entity is --- 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