mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-17 15:46:24 +08:00
Fix a compile error in debug mode
Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -515,7 +515,7 @@ bool Position::pl_move_is_legal(Move m, Bitboard pinned) const {
|
|||||||
|
|
||||||
bool Position::pl_move_is_evasion(Move m, Bitboard pinned) const
|
bool Position::pl_move_is_evasion(Move m, Bitboard pinned) const
|
||||||
{
|
{
|
||||||
assert(pos.is_check());
|
assert(is_check());
|
||||||
|
|
||||||
Color us = side_to_move();
|
Color us = side_to_move();
|
||||||
Square from = move_from(m);
|
Square from = move_from(m);
|
||||||
|
|||||||
Reference in New Issue
Block a user