]> git.sesse.net Git - stockfish/blobdiff - src/move.cpp
IncrementalFutilityMargin to 4 and increased pruning
[stockfish] / src / move.cpp
index 8118273e48e81c6d0015bd7654c656169353e05a..065fd230784927051ee952790aaf1109370d0e91 100644 (file)
@@ -27,7 +27,6 @@
 #include "move.h"
 #include "piece.h"
 #include "position.h"
-#include "ucioption.h"
 
 
 ////
@@ -130,8 +129,8 @@ const std::string move_to_string(Move move) {
               return (from == SQ_E1 ? "e1c1" : "e8c8");
       }
       str = square_to_string(from) + square_to_string(to);
-      if (move_promotion(move))
-          str += piece_type_to_char(move_promotion(move), false);
+      if (move_is_promotion(move))
+          str += piece_type_to_char(move_promotion_piece(move), false);
   }
   return str;
 }