mirror of
https://github.com/sockspls/badfish
synced 2025-04-29 16:23:09 +00:00
Fix duplicate code (#5711)
closes https://github.com/official-stockfish/Stockfish/pull/5711 No functional change
This commit is contained in:
parent
a8b6bf1b1a
commit
cf10644d6e
1 changed files with 1 additions and 3 deletions
|
@ -1041,9 +1041,7 @@ moves_loop: // When in check, search starts here
|
|||
{
|
||||
if (bestValue <= futilityValue && !is_decisive(bestValue)
|
||||
&& !is_win(futilityValue))
|
||||
if (bestValue <= futilityValue && !is_decisive(bestValue)
|
||||
&& !is_win(futilityValue))
|
||||
bestValue = futilityValue;
|
||||
bestValue = futilityValue;
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue