X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fposition.cpp;h=8e7a5aa5d24de004688134b12dbbe75d9c902697;hp=c915a1f9f3cf7e466eb2ed9d754cc75cdd22cbd1;hb=33d95482182e459eb033de47a31f142880aa9afb;hpb=9dc6d270fc207d6715578b57a1cdf655527ec5fe diff --git a/src/position.cpp b/src/position.cpp index c915a1f9..8e7a5aa5 100644 --- a/src/position.cpp +++ b/src/position.cpp @@ -579,6 +579,7 @@ bool Position::legal(Move m) const { /// Position::pseudo_legal() takes a random move and tests whether the move is /// pseudo legal. It is used to validate moves from TT that can be corrupted /// due to SMP concurrent access or hash position key aliasing. +/// MOVE_NONE is represented as SQ_A1 to SQ_A1 which is never pseudo_legal. bool Position::pseudo_legal(const Move m) const {