]> git.sesse.net Git - stockfish/blobdiff - src/search.cpp
Simplify away redundant SEE pruning condition (#1363)
[stockfish] / src / search.cpp
index 2fd842070cfe2720217eb6f8876aa02ba61075a7..e0f6cba2c4567c23b0f4af09462207037d817835 100644 (file)
@@ -1252,7 +1252,6 @@ moves_loop: // When in check search starts from here
 
       // Don't search moves with negative SEE values
       if (  (!InCheck || evasionPrunable)
-          &&  type_of(move) != PROMOTION
           &&  !pos.see_ge(move))
           continue;