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.2~39 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=fd835064015766e66a8d0d9e1878e7814f1f91e6;p=xonotic%2Fdarkplaces.git 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 ::stable-branch::merge=e66409bc527977659dc5201d35a7b4067cd50175 --- 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); }