- case PAWN:
- update_checkers<PAWN>(&checkersBB, ksq, from, to, dcCandidates);
- break;
-
- case KNIGHT:
- update_checkers<KNIGHT>(&checkersBB, ksq, from, to, dcCandidates);
- break;
-
- case BISHOP:
- update_checkers<BISHOP>(&checkersBB, ksq, from, to, dcCandidates);
- break;
-
- case ROOK:
- update_checkers<ROOK>(&checkersBB, ksq, from, to, dcCandidates);
- break;
-
- case QUEEN:
- update_checkers<QUEEN>(&checkersBB, ksq, from, to, dcCandidates);
- break;
-
- case KING:
- update_checkers<KING>(&checkersBB, ksq, from, to, dcCandidates);
- break;
-
- default:
- assert(false);
- break;
+ case PAWN: update_checkers<PAWN>(&checkersBB, ksq, from, to, oldDcCandidates); break;
+ case KNIGHT: update_checkers<KNIGHT>(&checkersBB, ksq, from, to, oldDcCandidates); break;
+ case BISHOP: update_checkers<BISHOP>(&checkersBB, ksq, from, to, oldDcCandidates); break;
+ case ROOK: update_checkers<ROOK>(&checkersBB, ksq, from, to, oldDcCandidates); break;
+ case QUEEN: update_checkers<QUEEN>(&checkersBB, ksq, from, to, oldDcCandidates); break;
+ case KING: update_checkers<KING>(&checkersBB, ksq, from, to, oldDcCandidates); break;
+ default: assert(false); break;