]> git.sesse.net Git - stockfish/blobdiff - src/search.cpp
Simplify make_promotions()
[stockfish] / src / search.cpp
index f14bdf77055970a175f4e2c5c8b20ff8760da769..1610c206dd7580fd7f1d0db2e22e3f97bfc52819 100644 (file)
@@ -1486,8 +1486,8 @@ moves_loop: // When in check, search starts from here
 
     // Initialize a MovePicker object for the current position, and prepare
     // to search the moves. Because the depth is <= 0 here, only captures,
-    // queen promotions and checks (only if depth >= DEPTH_QS_CHECKS) will
-    // be generated.
+    // queen and checking knight promotions, and other checks(only if depth >= DEPTH_QS_CHECKS)
+    // will be generated.
     MovePicker mp(pos, ttMove, depth, &thisThread->mainHistory,
                                       &thisThread->captureHistory,
                                       contHist,