X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fevaluate.cpp;h=a2ed91f8c9e1e8319926e1dbb534ac3ed336f090;hp=f7a59de69319c9bff7192b739e544e2ba5e76b65;hb=de6fe2cb4e3cc1807ca59fb352b7226c458229bd;hpb=6579a65bbb7037c077bb5bc66161faa8762a76db diff --git a/src/evaluate.cpp b/src/evaluate.cpp index f7a59de6..a2ed91f8 100644 --- a/src/evaluate.cpp +++ b/src/evaluate.cpp @@ -161,7 +161,6 @@ namespace { #undef S const Score Tempo = make_score(24, 11); - const Score RookOn7th = make_score(11, 20); const Score RookOnPawn = make_score(10, 28); const Score RookOpenFile = make_score(43, 21); const Score RookSemiopenFile = make_score(19, 10); @@ -360,11 +359,6 @@ namespace { if (Pt == ROOK) { - // Rook on 7th rank and enemy king trapped on 8th - if ( relative_rank(Us, s) == RANK_7 - && relative_rank(Us, pos.king_square(Them)) == RANK_8) - score += RookOn7th; - // Rook piece attacking enemy pawns on the same rank/file if (relative_rank(Us, s) >= RANK_5) {