]> git.sesse.net Git - stockfish/blobdiff - src/movepick.cpp
Cleanup comments and some code reorg.
[stockfish] / src / movepick.cpp
index ff282262a5b137e0e5268a93b3050d2d5c288615..d2a49706fc27e34a5b75d0179cb9f16f7cec8d72 100644 (file)
@@ -263,11 +263,9 @@ top:
 
     case GOOD_CAPTURE :
         if (select<Next>([&]() {
-                return pos.see_ge(*cur, Value(-cur->value))
-                       ?
-                       // Move losing capture to endBadCaptures to be tried later
-                         true
-                       : (*endBadCaptures++ = *cur, false);
+                // Move losing capture to endBadCaptures to be tried later
+                return pos.see_ge(*cur, Value(-cur->value)) ? true
+                                                            : (*endBadCaptures++ = *cur, false);
             }))
             return *(cur - 1);