X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fposition.cpp;h=b00bda24b0596b56a4661a315cfebc2e6c0195e0;hp=23370ca3f73d4ed8fedbd14595c8b30af2b332b7;hb=e60cdca9b016f1edb8789d99785843cebe704e29;hpb=888a1d34454121c3682cbd68751bcebeca8bd308 diff --git a/src/position.cpp b/src/position.cpp index 23370ca3..b00bda24 100644 --- a/src/position.cpp +++ b/src/position.cpp @@ -25,6 +25,7 @@ #include "bitcount.h" #include "movegen.h" +#include "notation.h" #include "position.h" #include "psqtab.h" #include "rkiss.h" @@ -1116,10 +1117,6 @@ Value Position::see(Move m) const { bool Position::is_draw() const { - if ( !pieces(PAWN) - && (non_pawn_material(WHITE) + non_pawn_material(BLACK) <= BishopValueMg)) - return true; - if (st->rule50 > 99 && (!checkers() || MoveList(*this).size())) return true;