diff --git a/source/search.cpp b/source/search.cpp index bbe248f..16544fa 100644 --- a/source/search.cpp +++ b/source/search.cpp @@ -138,7 +138,13 @@ static SearchResults Quiescence(Board board, int alpha, int beta, int ply) { int bestScore = HCE::Evaluate(board); - if (bestScore>= beta) { + TTEntry *entry = TT.GetRawEntry(board.hashKey); + if (entry->hashKey == board.hashKey) { + bestScore = entry->score; + } + + + if (bestScore >= beta) { return bestScore; }