Added a ray cast to test if you're to close to the wall to do a normal swing. If you are, you will stab instead.