X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=cl_input.c;h=a393f669eb46e7dda3ca4a7f1094a91ccc15ea1d;hb=71ee6de8313addbd9f091305f56c769c3336c0d1;hp=b70a19eccbcbe834b9950077f8775c52c9d8bc3a;hpb=9fa6c695b421f09090fdc81d1a1cadbb7d360126;p=xonotic%2Fdarkplaces.git 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); }