From: Mircea Kitsune Date: Thu, 31 Mar 2011 16:51:05 +0000 (+0300) Subject: Temporarily move the camera better when it touches a wall. Needs to be improved. X-Git-Tag: xonotic-v0.5.0~268^2^2~25 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=d23393228c090ff3cf87e997465fc16c61a0f3d8;p=xonotic%2Fxonotic-data.pk3dir.git Temporarily move the camera better when it touches a wall. Needs to be improved. --- diff --git a/qcsrc/client/View.qc b/qcsrc/client/View.qc index 9f41d3b0b..fb2be2600 100644 --- a/qcsrc/client/View.qc +++ b/qcsrc/client/View.qc @@ -429,6 +429,8 @@ void CSQC_UpdateView(float w, float h) traceline(pmove_org, chase_target_origin, MOVE_NORMAL, self); if(trace_fraction == 1) R_SetView(VF_ORIGIN, chase_target_origin); + else + R_SetView(VF_ORIGIN, pmove_org); } else if(autocvar_chase_active < 0) {