mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-10 22:51:57 +00:00
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:
parent
252face9c5
commit
bd22b975d0
1 changed files with 2 additions and 2 deletions
|
@ -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 ( (in_strafe.state[pnum] & 1) || (lookstrafe.value && (in_mlook.state[pnum] & 1) ))
|
||||||
{
|
{
|
||||||
if (cmd)
|
if (movements)
|
||||||
movements[1] += m_side.value * mouse_x;
|
movements[1] += m_side.value * mouse_x;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -295,7 +295,7 @@ void IN_Move (float *movements, int pnum)
|
||||||
cl.viewangles[pnum][PITCH] += m_pitch.value * mouse_y;
|
cl.viewangles[pnum][PITCH] += m_pitch.value * mouse_y;
|
||||||
CL_ClampPitch(pnum);
|
CL_ClampPitch(pnum);
|
||||||
} else {
|
} else {
|
||||||
if (cmd)
|
if (movements)
|
||||||
{
|
{
|
||||||
if ((in_strafe.state[pnum] & 1) && noclip_anglehack)
|
if ((in_strafe.state[pnum] & 1) && noclip_anglehack)
|
||||||
movements[2] -= m_forward.value * mouse_y;
|
movements[2] -= m_forward.value * mouse_y;
|
||||||
|
|
Loading…
Reference in a new issue