From 5456462a532e65b437db3c539828ce23ea4d9497 Mon Sep 17 00:00:00 2001 From: lordhavoc Date: Sat, 21 Oct 2000 10:24:28 +0000 Subject: [PATCH] fix for player model tilting in chase_active mode git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@60 d7cf8633-e32d-0410-b094-e92efae38249 --- view.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/view.c b/view.c index 0638f86f..f2daebbd 100644 --- a/view.c +++ b/view.c @@ -726,8 +726,11 @@ void V_CalcRefdef (void) // transform the view offset by the model's matrix to get the offset from // model origin for the view - ent->angles[YAW] = cl.viewangles[YAW]; // the model should face the view dir - ent->angles[PITCH] = -cl.viewangles[PITCH]; // the model should face the view dir + if (!chase_active.value) // LordHavoc: get rid of angle problems in chase_active mode + { + ent->angles[YAW] = cl.viewangles[YAW]; // the model should face the view dir + ent->angles[PITCH] = -cl.viewangles[PITCH]; // the model should face the view dir + } bob = V_CalcBob (); -- 2.39.2