checking for hashKey in ScoreMove | bench 1293146 #59

Merged
rektdie merged 1 commits from TT-fix into main 2025-05-14 17:14:32 +02:00
+1 -1
View File
@@ -25,7 +25,7 @@ void InitLMRTable() {
static int ScoreMove(Board &board, Move &move, int ply, SearchContext& ctx) {
TTEntry *current = ctx.TT.GetRawEntry(board.hashKey);
if (current->bestMove == move) {
if (current->hashKey == board.hashKey && current->bestMove == move) {
return 50000;
}