mirror of
https://github.com/sockspls/badfish
synced 2025-04-30 08:43:09 +00:00
Avoid resetting pinners[c]
Small optimization. No functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
parent
8f59de48f5
commit
43bc5479c2
1 changed files with 1 additions and 1 deletions
|
@ -721,7 +721,7 @@ void Position::do_move(Move m, StateInfo& newSt) {
|
|||
|
||||
// Reset pinned bitboard and its friends
|
||||
for (Color c = WHITE; c <= BLACK; c++)
|
||||
st->pinners[c] = st->pinned[c] = st->dcCandidates[c] = ~EmptyBoardBB;
|
||||
st->pinned[c] = st->dcCandidates[c] = ~EmptyBoardBB;
|
||||
|
||||
if (move_is_castle(m))
|
||||
do_castle_move(m);
|
||||
|
|
Loading…
Add table
Reference in a new issue