X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fuci.cpp;h=34a26586a6a8295f0617b22d4945bfc16dc6af65;hp=9593b593c897fd1d626d452d62fdb8b8dc6b5df9;hb=09d01ee9dc16f20962d5f5ffcb61ade56d4fa579;hpb=1d368bbbdc50bbb4e10933c4986abc07a08010fd diff --git a/src/uci.cpp b/src/uci.cpp index 9593b593..34a26586 100644 --- a/src/uci.cpp +++ b/src/uci.cpp @@ -203,10 +203,10 @@ namespace { bool go(Position& pos, UCIParser& up) { string token; - int time[] = { 0, 0 }, inc[] = { 0, 0 }; - SearchLimits limits(0, 0, 0, 0, 0, 0, false, false); - Move searchMoves[MOVES_MAX] = { MOVE_NONE }; + SearchLimits limits; + Move searchMoves[MAX_MOVES] = { MOVE_NONE }; Move* cur = searchMoves; + int time[] = { 0, 0 }, inc[] = { 0, 0 }; while (up >> token) {