mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 02:47:45 +00:00
Fix duplicate code (#5711)
closes https://github.com/official-stockfish/Stockfish/pull/5711 No functional change
This commit is contained in:
+1
-3
@@ -1041,9 +1041,7 @@ moves_loop: // When in check, search starts here
|
|||||||
{
|
{
|
||||||
if (bestValue <= futilityValue && !is_decisive(bestValue)
|
if (bestValue <= futilityValue && !is_decisive(bestValue)
|
||||||
&& !is_win(futilityValue))
|
&& !is_win(futilityValue))
|
||||||
if (bestValue <= futilityValue && !is_decisive(bestValue)
|
bestValue = futilityValue;
|
||||||
&& !is_win(futilityValue))
|
|
||||||
bestValue = futilityValue;
|
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user