]> git.sesse.net Git - stockfish/blobdiff - src/search.cpp
Retire EvaluatePawnStorms and UseEasyMove constants
[stockfish] / src / search.cpp
index d89779f85bf9eb4fb3c8e8c9e3f3c96056a2dd2c..d61c5939dbf4065ddb21c7cf00eab6fa6b3c7f27 100644 (file)
@@ -133,9 +133,6 @@ namespace {
   // when the static evaluation is at most IIDMargin below beta.
   const Value IIDMargin = Value(0x100);
 
-  // Use easy moves?
-  const bool UseEasyMove = true;
-
   // Easy move margin.  An easy move candidate must be at least this much
   // better than the second best move.
   const Value EasyMoveMargin = Value(0x200);
@@ -2284,7 +2281,8 @@ namespace {
     if (  !PruneBlockingMoves
         && threat != MOVE_NONE
         && piece_is_slider(pos.piece_on(tfrom))
-        && bit_is_set(squares_between(tfrom, tto), mto) && pos.see(m) >= 0)
+        && bit_is_set(squares_between(tfrom, tto), mto)
+        && pos.see(m) >= 0)
             return false;
 
     return true;