From bd22b975d0cc05c38c1f6cd80b2c4dfbdcac0d6c Mon Sep 17 00:00:00 2001 From: Spoike Date: Sun, 24 May 2009 11:24:57 +0000 Subject: [PATCH] Attempt 2. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3201 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/client/in_morphos.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engine/client/in_morphos.c b/engine/client/in_morphos.c index 7e07da54a..615016676 100644 --- a/engine/client/in_morphos.c +++ b/engine/client/in_morphos.c @@ -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;