]> git.sesse.net Git - stockfish/blobdiff - src/endgame.cpp
Remove the now redundant TT prefetch call from Position::do_move.
[stockfish] / src / endgame.cpp
index 9e60503e98f5e07602ec1335956de559b01df181..311443ec939f82ac7b2af69c836524ba8e8768a4 100644 (file)
@@ -166,6 +166,7 @@ Value Endgame<KXK>::operator()(const Position& pos) const {
 
   if (   pos.count<QUEEN>(strongSide)
       || pos.count<ROOK>(strongSide)
+      ||(pos.count<BISHOP>(strongSide) && pos.count<KNIGHT>(strongSide))
       || pos.bishop_pair(strongSide))
       result += VALUE_KNOWN_WIN;