]> git.sesse.net Git - stockfish/blobdiff - src/evaluate.cpp
Another attempt at fixing Chess960
[stockfish] / src / evaluate.cpp
index 58feae39c470b57406c1305c4c43d3ddc9e593b1..fe964935c828282490b53a3927cc18c471f263d1 100644 (file)
@@ -562,7 +562,7 @@ namespace {
         }
 
         // Special extra evaluation for bishops
-        if (Piece == BISHOP)
+        if (Piece == BISHOP && pos.is_chess960())
         {
             // An important Chess960 pattern: A cornered bishop blocked by
             // a friendly pawn diagonally in front of it is a very serious