mirror of
https://github.com/sockspls/badfish
synced 2025-07-13 12:39:16 +00:00
Revert stray functional part of 6e2236c37a
This commit is contained in:
parent
8a3df0f92f
commit
2b8bb8e226
1 changed files with 1 additions and 1 deletions
|
@ -1012,7 +1012,7 @@ moves_loop: // When in check, search starts from here
|
||||||
moveCountPruning = moveCount >= futility_move_count(improving, depth);
|
moveCountPruning = moveCount >= futility_move_count(improving, depth);
|
||||||
|
|
||||||
// Reduced depth of the next LMR search
|
// Reduced depth of the next LMR search
|
||||||
int lmrDepth = std::max(newDepth - reduction(improving, depth, moveCount), 0) + (type_of(movedPiece) == KING);
|
int lmrDepth = std::max(newDepth - reduction(improving, depth, moveCount), 0);
|
||||||
|
|
||||||
if ( !captureOrPromotion
|
if ( !captureOrPromotion
|
||||||
&& !givesCheck)
|
&& !givesCheck)
|
||||||
|
|
Loading…
Add table
Reference in a new issue