diff --git a/src/search.cpp b/src/search.cpp index 2c2321ee..1fc0bf1e 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1144,6 +1144,9 @@ moves_loop: // When in check, search starts from here int bonus = value > alpha ? stat_bonus(newDepth) : -stat_bonus(newDepth); + if (move == ss->killers[0]) + bonus += bonus / 4; + update_continuation_histories(ss, movedPiece, to_sq(move), bonus); } }