From f185dad34d5f373b0d9d919e0477e0b194f545e4 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Sat, 31 Dec 2011 10:16:11 +0100 Subject: [PATCH] try to fix vehicle chase cam (untested) --- qcsrc/csqcmodellib/cl_player.qc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/qcsrc/csqcmodellib/cl_player.qc b/qcsrc/csqcmodellib/cl_player.qc index d1cfa4060..242dc81e0 100644 --- a/qcsrc/csqcmodellib/cl_player.qc +++ b/qcsrc/csqcmodellib/cl_player.qc @@ -232,8 +232,12 @@ void CSQCPlayer_SetCamera() } else { + // FIXME by CSQC spec we have to do this: + // but it breaks chase cam + /* setproperty(VF_ORIGIN, pmove_org + '0 0 1' * getstati(STAT_VIEWHEIGHT)); setproperty(VF_ANGLES, view_angles); + */ } { CSQCPLAYER_HOOK_POSTCAMERASETUP } -- 2.39.2