mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-23 04:11:53 +00:00
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:
parent
f3970ede24
commit
f472410ad2
1 changed files with 7 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue