1
0
Fork 0
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:
Joost VandeVondele 2020-08-05 07:44:47 +02:00
parent 8a3df0f92f
commit 2b8bb8e226

View file

@ -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)