From d71e264bb93a83db35b27280c042aff23b435171 Mon Sep 17 00:00:00 2001 From: rektdie Date: Tue, 16 Dec 2025 07:09:30 +0100 Subject: [PATCH] adding instead of setting | bench 4083464 --- source/search.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/search.cpp b/source/search.cpp index 81489f8..7d35158 100644 --- a/source/search.cpp +++ b/source/search.cpp @@ -79,7 +79,7 @@ static int ScoreMove(Board &board, Move &move, int ply, SearchContext* ctx) { conthistScore = ctx->conthist.GetNPly(board, move, ctx, ply, 1); if (ply > 1) { - conthistScore = ctx->conthist.GetNPly(board, move, ctx, ply, 2); + conthistScore += ctx->conthist.GetNPly(board, move, ctx, ply, 2); } }