mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-19 16:46:30 +08:00
Change hidden checkers API
After previous patch is no more needed to pass the color, becuase it is always the side to move. No functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -2023,7 +2023,7 @@ split_point_start: // At split points actual search starts from here
|
||||
while ( (tte = TT.probe(pos.get_key())) != NULL
|
||||
&& tte->move() != MOVE_NONE
|
||||
&& pos.move_is_pl(tte->move())
|
||||
&& pos.pl_move_is_legal(tte->move(), pos.pinned_pieces(pos.side_to_move()))
|
||||
&& pos.pl_move_is_legal(tte->move(), pos.pinned_pieces())
|
||||
&& ply < PLY_MAX
|
||||
&& (!pos.is_draw<false>() || ply < 2))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user