fix for pathfinding error

need to make extra checks when moving north east or south west because...
you know what? i don't need to explain myself, it fixes a bug.