]> git.sesse.net Git - stockfish/blobdiff - src/search.cpp
Simplify promotion move generator
[stockfish] / src / search.cpp
index 67f259fca36d72bbf68cd8c4de0e10cfec7fc399..5306bb9a0084b2ee50ae7b4fc83cbd7324ba2bd0 100644 (file)
@@ -1464,7 +1464,7 @@ 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 and checking knight promotions, and other checks(only if depth >= DEPTH_QS_CHECKS)
+    // queen promotions, and other checks (only if depth >= DEPTH_QS_CHECKS)
     // will be generated.
     MovePicker mp(pos, ttMove, depth, &thisThread->mainHistory,
                                       &thisThread->captureHistory,