Pawn distance evaluation. Fix compile bug.