From: Rudolf Polzer <divverent@alientrap.org>
Date: Sat, 31 Dec 2011 09:16:11 +0000 (+0100)
Subject: try to fix vehicle chase cam (untested)
X-Git-Tag: xonotic-v0.6.0~189^2~23
X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=f185dad34d5f373b0d9d919e0477e0b194f545e4;p=xonotic%2Fxonotic-data.pk3dir.git

try to fix vehicle chase cam (untested)
---

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 }