From e66409bc527977659dc5201d35a7b4067cd50175 Mon Sep 17 00:00:00 2001 From: havoc Date: Sun, 17 Jul 2016 22:32:09 +0000 Subject: [PATCH] Added a couple todo items related to pq_fullpitch git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12260 d7cf8633-e32d-0410-b094-e92efae38249 --- cl_input.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cl_input.c b/cl_input.c index b70a19ec..a393f669 100644 --- a/cl_input.c +++ b/cl_input.c @@ -506,6 +506,8 @@ static void CL_AdjustAngles (void) cl.viewangles[YAW] -= 360; if (cl.viewangles[PITCH] >= 180) cl.viewangles[PITCH] -= 360; + // TODO: honor serverinfo minpitch and maxpitch values in PROTOCOL_QUAKEWORLD + // TODO: honor proquake pq_fullpitch cvar when playing on proquake server (server stuffcmd's this to 0 usually) cl.viewangles[PITCH] = bound(in_pitch_min.value, cl.viewangles[PITCH], in_pitch_max.value); cl.viewangles[ROLL] = bound(-180, cl.viewangles[ROLL], 180); } -- 2.39.2