- Hist.update(pos.piece_moved(bestMove), to_sq(bestMove), bonus);
- Refutation.update(prevP, prevSq, bestMove);
+ History.update(pos.piece_moved(bestMove), to_sq(bestMove), bonus);
+ if (is_ok((ss-1)->currentMove))
+ Countermoves.update(pos.piece_on(prevMoveSq), prevMoveSq, bestMove);