Re-Implements NPC Pathfinding.