fix an exponential growth of in_mouse_amp when in_amp is > 1

This commit is contained in:
Bill Currie 2001-09-08 03:33:57 +00:00
parent 888bdb7052
commit cd0d260549

View file

@ -123,8 +123,8 @@ IN_Move (void)
in_old_mouse_y = in_mouse_y;
}
in_mouse_x *= in_mouse_amp->value *= in_amp->value;
in_mouse_y *= in_mouse_amp->value *= in_amp->value;
in_mouse_x *= in_mouse_amp->value * in_amp->value;
in_mouse_y *= in_mouse_amp->value * in_amp->value;
if ((in_strafe.state & 1) || (lookstrafe->int_val && freelook))
viewdelta.position[0] += in_mouse_x;