mirror of
https://github.com/sockspls/badfish
synced 2025-04-30 16:53:09 +00:00
Fix compile in debug mode
No functional change.
This commit is contained in:
parent
eed508b444
commit
42caebfaa5
1 changed files with 1 additions and 1 deletions
|
@ -477,7 +477,7 @@ Bitboard Position::attacks_from(Piece p, Square s, Bitboard occ) {
|
|||
bool Position::legal(Move m, Bitboard pinned) const {
|
||||
|
||||
assert(is_ok(m));
|
||||
assert(pinned == pinned_pieces(pos.side_to_move()));
|
||||
assert(pinned == pinned_pieces(sideToMove));
|
||||
|
||||
Color us = sideToMove;
|
||||
Square from = from_sq(m);
|
||||
|
|
Loading…
Add table
Reference in a new issue