1
0
Fork 0
forked from fte/fteqw

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

View file

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