simplified a killer away | bench 1207250

This commit is contained in:
rektdie committed 2026-03-23 10:50:40 +01:00
1 parent 0a7be07d0f
commit feb441c380
3 files changed
+4 -9

No files matched your search

+1 -4
View File
@@ -96,12 +96,9 @@ private:
+ capthistScore;
}
if (ctx->killerMoves[0][ply] == move)
if (ctx->killerMoves[ply] == move)
return 41000;
if (ctx->killerMoves[1][ply] == move)
return 40000;
bool sourceThreatened = board.IsSquareThreatened(board.sideToMove, move.MoveFrom());
bool targetThreatened = board.IsSquareThreatened(board.sideToMove, move.MoveTo());