Retire one do_move() overload
[stockfish] / src / uci.cpp
index ff3a64ece151aafe690695445066494cbee25d1d..b7127b758153c9fd008563f2f7412a5802ebdfad 100644 (file)
@@ -74,7 +74,7 @@ namespace {
     while (is >> token && (m = UCI::to_move(pos, token)) != MOVE_NONE)
     {
         SetupStates->push(StateInfo());
-        pos.do_move(m, SetupStates->top());
+        pos.do_move(m, SetupStates->top(), pos.gives_check(m, CheckInfo(pos)));
     }
   }