From ed524024be241e4b66b3d3189a8874471660c871 Mon Sep 17 00:00:00 2001
From: Samual <samual@xonotic.org>
Date: Wed, 20 Apr 2011 21:56:06 -0400
Subject: [PATCH] Use MOVE_WORLDONLY for the trace for chase_eventcam -- This
 way it isn't accidentally broken by gibs or close entities.

---
 qcsrc/client/View.qc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/qcsrc/client/View.qc b/qcsrc/client/View.qc
index 7aa306aee..27075599b 100644
--- a/qcsrc/client/View.qc
+++ b/qcsrc/client/View.qc
@@ -445,7 +445,7 @@ void CSQC_UpdateView(float w, float h)
 			// pass 1, used to check where the camera would go and obtain the trace_fraction
 			eventchase_target_origin = pmove_org - view_forward * eventchase_current_distance;
 
-			traceline(pmove_org, eventchase_target_origin, MOVE_NORMAL, self);
+			traceline(pmove_org, eventchase_target_origin, MOVE_WORLDONLY, self);
 			// pass 2, also multiplying view_forward with trace_fraction, to prevent the camera from going through walls
 			// The 0.1 subtraction is to not limit the camera precisely at the wall surface, as that allows the view to poke through
 			eventchase_target_origin = pmove_org - view_forward * eventchase_current_distance * (trace_fraction - 0.1);
-- 
2.39.5