mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-21 09:37:16 +08:00
Skip a redundant check
Spotted by Joona No functional change.
This commit is contained in:
@@ -857,7 +857,7 @@ split_point_start: // At split points actual search starts from here
|
||||
&& !captureOrPromotion
|
||||
&& !inCheck
|
||||
&& !dangerous
|
||||
&& move != ttMove
|
||||
/* && move != ttMove Already implicit in the next condition */
|
||||
&& bestValue > VALUE_MATED_IN_MAX_PLY)
|
||||
{
|
||||
// Move count based pruning
|
||||
|
||||
Reference in New Issue
Block a user