mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-04-20 09:55:38 +00:00
undo formatting changes
This commit is contained in:
parent
06ef6723b1
commit
87ace1016c
1 changed files with 4 additions and 3 deletions
|
@ -618,7 +618,7 @@ void IN_MouseMove(usercmd_t *cmd)
|
|||
total_dx = 0;
|
||||
total_dy = 0;
|
||||
|
||||
if ((in_strafe.state & 1) || (lookstrafe.value && (in_mlook.state & 1)))
|
||||
if ( (in_strafe.state & 1) || (lookstrafe.value && (in_mlook.state & 1) ))
|
||||
cmd->sidemove += m_side.value * dmx;
|
||||
else
|
||||
cl.viewangles[YAW] -= m_yaw.value * dmx;
|
||||
|
@ -626,10 +626,10 @@ void IN_MouseMove(usercmd_t *cmd)
|
|||
if (in_mlook.state & 1)
|
||||
{
|
||||
if (dmx || dmy)
|
||||
V_StopPitchDrift();
|
||||
V_StopPitchDrift ();
|
||||
}
|
||||
|
||||
if ((in_mlook.state & 1) && !(in_strafe.state & 1))
|
||||
if ( (in_mlook.state & 1) && !(in_strafe.state & 1))
|
||||
{
|
||||
cl.viewangles[PITCH] += m_pitch.value * dmy;
|
||||
/* johnfitz -- variable pitch clamping */
|
||||
|
@ -1042,3 +1042,4 @@ void IN_SendKeyEvents (void)
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue