From 765642b1e2108aad20e22a327374cb4b791e436a Mon Sep 17 00:00:00 2001 From: Spoike Date: Fri, 6 Jul 2012 21:34:23 +0000 Subject: [PATCH] Sorry, some bits I missed. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4060 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/gl/gl_vidlinuxglx.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/engine/gl/gl_vidlinuxglx.c b/engine/gl/gl_vidlinuxglx.c index 46c60e03b..e7e0ccb02 100644 --- a/engine/gl/gl_vidlinuxglx.c +++ b/engine/gl/gl_vidlinuxglx.c @@ -1043,7 +1043,7 @@ void Sys_SendKeyEvents(void) void Force_CenterView_f (void) { - cl.viewangles[0][PITCH] = 0; + cl.playerview[0].viewangles[PITCH] = 0; } 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) )) movements[1] += m_side.value * mouse_x; 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) V_StopPitchDrift (pnum); 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); } else