X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fuci.cpp;h=b195b871346cdd4b03a331a685a19d5294cf3969;hp=4ae6662017768d5127dc44ea63c79d4dd25f22ff;hb=805afcbf3d5db39c85b759232cfb99ab0a250311;hpb=4c5cbb1b14b283679e3e0096b7973c97b75088f3 diff --git a/src/uci.cpp b/src/uci.cpp index 4ae66620..b195b871 100644 --- a/src/uci.cpp +++ b/src/uci.cpp @@ -75,7 +75,7 @@ namespace { while (is >> token && (m = UCI::to_move(pos, token)) != MOVE_NONE) { States->push_back(StateInfo()); - pos.do_move(m, States->back(), pos.gives_check(m, CheckInfo(pos))); + pos.do_move(m, States->back(), pos.gives_check(m)); } }