SPP movement.

Changed gravity condition check to boolean comparison.