1
0
Fork 0
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:
Nonlinear2 2024-12-08 22:24:29 +01:00 committed by GitHub
parent a8b6bf1b1a
commit cf10644d6e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1039,8 +1039,6 @@ moves_loop: // When in check, search starts here
// Futility pruning: parent node (~13 Elo)
if (!ss->inCheck && lmrDepth < 12 && futilityValue <= alpha)
{
if (bestValue <= futilityValue && !is_decisive(bestValue)
&& !is_win(futilityValue))
if (bestValue <= futilityValue && !is_decisive(bestValue)
&& !is_win(futilityValue))
bestValue = futilityValue;