Sorry, some bits I missed.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4060 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2012-07-06 21:34:23 +00:00
parent fe23d72d69
commit 765642b1e2

View file

@ -1043,7 +1043,7 @@ void Sys_SendKeyEvents(void)
void Force_CenterView_f (void) void Force_CenterView_f (void)
{ {
cl.viewangles[0][PITCH] = 0; cl.playerview[0].viewangles[PITCH] = 0;
} }
void IN_ReInit(void) void IN_ReInit(void)
@ -1149,14 +1149,14 @@ void IN_MouseMove (float *movements, int pnum)
if ( (in_strafe.state[pnum] & 1) || (lookstrafe.value && (in_mlook.state[pnum] & 1) )) if ( (in_strafe.state[pnum] & 1) || (lookstrafe.value && (in_mlook.state[pnum] & 1) ))
movements[1] += m_side.value * mouse_x; movements[1] += m_side.value * mouse_x;
else else
cl.viewanglechange[pnum][YAW] -= m_yaw.value * mouse_x; cl.playerview[pnum].viewanglechange[YAW] -= m_yaw.value * mouse_x;
if (in_mlook.state[pnum] & 1) if (in_mlook.state[pnum] & 1)
V_StopPitchDrift (pnum); V_StopPitchDrift (pnum);
if ( (in_mlook.state[pnum] & 1) && !(in_strafe.state[pnum] & 1)) if ( (in_mlook.state[pnum] & 1) && !(in_strafe.state[pnum] & 1))
{ {
cl.viewanglechange[pnum][PITCH] += m_pitch.value * mouse_y; cl.playerview[pnum].viewanglechange[PITCH] += m_pitch.value * mouse_y;
CL_ClampPitch(pnum); CL_ClampPitch(pnum);
} }
else else