Fixes the angle clamping issue in q3. The cgame is meant to clamp, not the engine.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3209 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2009-05-31 11:46:57 +00:00
parent f3970ede24
commit f472410ad2
1 changed files with 7 additions and 0 deletions

View File

@ -585,6 +585,13 @@ void CL_ClampPitch (int pnum)
cl.viewangles[pnum][PITCH] = cl.minpitch - pitch;
}
else
#endif
#ifdef Q3CLIENT
if (cls.gamemode == CP_QUAKE3) //q3 expects the cgame to do it
{
//no-op
}
else
#endif
{
if (cl.viewangles[pnum][PITCH] > cl.maxpitch)