Attempt 2.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3201 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2009-05-24 11:24:57 +00:00
parent 252face9c5
commit bd22b975d0
1 changed files with 2 additions and 2 deletions

View File

@ -281,7 +281,7 @@ void IN_Move (float *movements, int pnum)
if ( (in_strafe.state[pnum] & 1) || (lookstrafe.value && (in_mlook.state[pnum] & 1) ))
{
if (cmd)
if (movements)
movements[1] += m_side.value * mouse_x;
}
else
@ -295,7 +295,7 @@ void IN_Move (float *movements, int pnum)
cl.viewangles[pnum][PITCH] += m_pitch.value * mouse_y;
CL_ClampPitch(pnum);
} else {
if (cmd)
if (movements)
{
if ((in_strafe.state[pnum] & 1) && noclip_anglehack)
movements[2] -= m_forward.value * mouse_y;