mirror of
https://github.com/sockspls/badfish
synced 2025-04-29 16:23:09 +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);
|
||||
|
||||
// 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
|
||||
&& !givesCheck)
|
||||
|
|
Loading…
Add table
Reference in a new issue