Fixed linux sw building.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3199 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
dcefeaa8fa
commit
9a20ae8fa2
1 changed files with 14 additions and 15 deletions
|
@ -1412,7 +1412,8 @@ void IN_Move (float *movements, int pnum)
|
||||||
#ifdef IN_XFLIP
|
#ifdef IN_XFLIP
|
||||||
if(in_xflip.value) mouse_x *= -1;
|
if(in_xflip.value) mouse_x *= -1;
|
||||||
#endif
|
#endif
|
||||||
|
if (movements)
|
||||||
|
{
|
||||||
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
|
||||||
|
@ -1426,8 +1427,6 @@ void IN_Move (float *movements, int pnum)
|
||||||
CL_ClampPitch(pnum);
|
CL_ClampPitch(pnum);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
|
||||||
if (cmd)
|
|
||||||
{
|
{
|
||||||
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…
Add table
Add a link
Reference in a new issue