Fixed a bug in consecutive jump prevention

If the jump key is pressed, then released in the next frame, then "jumped" will
still be true.  Therefore when the jump key is pressed again later in time, the
mod will wrongly think that a consecutive jump is performed.
Wrap pitch to interval (-180, 180] if using tas_pitch

The game does this in its closed source engine.