checking for hashKey in ScoreMove | bench 1293146
This commit is contained in:
1 parent
c84984b88d
commit
40903516a5
1 file changed
+1
-1
+1
-1
@@ -25,7 +25,7 @@ void InitLMRTable() {
|
|||||||
|
|
||||||
static int ScoreMove(Board &board, Move &move, int ply, SearchContext& ctx) {
|
static int ScoreMove(Board &board, Move &move, int ply, SearchContext& ctx) {
|
||||||
TTEntry *current = ctx.TT.GetRawEntry(board.hashKey);
|
TTEntry *current = ctx.TT.GetRawEntry(board.hashKey);
|
||||||
if (current->bestMove == move) {
|
if (current->hashKey == board.hashKey && current->bestMove == move) {
|
||||||
return 50000;
|
return 50000;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user