updated character pathing so current walls cannot be stepped into