]> git.sesse.net Git - stockfish/blobdiff - src/notation.cpp
Change slave_available() API
[stockfish] / src / notation.cpp
index 85b0abdd2914e6c268da8408cc888de0828f3b5b..bb4a713cc2e563752bf17cefd57720b121de6430 100644 (file)
@@ -137,7 +137,7 @@ const string move_to_san(Position& pos, Move m) {
           {
               Square sq = pop_lsb(&attackers);
 
-              // Pinned pieces are not included in the possible sub-set
+              // If the move is illegal, the piece is not included in the sub-set
               if (!pos.pl_move_is_legal(make_move(sq, to), pos.pinned_pieces()))
                   continue;