From: havoc Date: Sun, 17 Jul 2016 22:32:09 +0000 (+0000) Subject: Added a couple todo items related to pq_fullpitch X-Git-Tag: xonotic-v0.8.5~88^2~62 X-Git-Url: http://git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=commitdiff_plain;h=e66409bc527977659dc5201d35a7b4067cd50175 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 --- 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); }