I wasn't even referring to the walking speed, but rather how it works. The player can't walk diagonally; when changing direction, the character first turns and only then starts walking.