]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
Added a couple todo items related to pq_fullpitch
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 17 Jul 2016 22:32:09 +0000 (22:32 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 17 Jul 2016 22:32:09 +0000 (22:32 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12260 d7cf8633-e32d-0410-b094-e92efae38249

cl_input.c

index b70a19eccbcbe834b9950077f8775c52c9d8bc3a..a393f669eb46e7dda3ca4a7f1094a91ccc15ea1d 100644 (file)
@@ -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);
 }