Revert "prevent SSinput from constantly reporting null movements (#59558)" (#59650)

This reverts commit 6c2d17bb15.

Fucky movement fix oranges is literally threatening me.

I feel like I've messed up somewhere here...

Either way this is causing movements to be a bit fucky where one input counts as two in a direction.
This commit is contained in:
brotherbeyondd
2021-06-16 20:38:52 +01:00
committed by GitHub
parent 1ff3fe20a2
commit 0c9d6d3aee
2 changed files with 3 additions and 5 deletions
@@ -7,13 +7,8 @@
movement_dir = movement_dir | user.movement_keys[_key]
if(user.next_move_dir_add)
movement_dir |= user.next_move_dir_add
user.next_move_dir_add = 0
if(user.next_move_dir_sub)
movement_dir &= ~user.next_move_dir_sub
user.next_move_dir_sub = 0
if(!movement_dir)
return
// Sanity checks in case you hold left and right and up to make sure you only go up
if((movement_dir & NORTH) && (movement_dir & SOUTH))
movement_dir &= ~(NORTH|SOUTH)