Revert "encapsulated positionIndex and moved isdraw to board class"
This reverts commit aa0d34eb8e.
This commit is contained in:
1 parent
3275cee01e
commit
ce01c7756b
7 files changed
+41
-35
No files matched your search
@@ -125,6 +125,7 @@ void UCILoop(Board &board) {
|
||||
// parse UCI "position" command
|
||||
if (input.find("position") != std::string::npos) {
|
||||
ParsePosition(board, input);
|
||||
positionIndex = 0;
|
||||
|
||||
continue;
|
||||
}
|
||||
@@ -138,6 +139,8 @@ void UCILoop(Board &board) {
|
||||
|
||||
ctx.killerMoves = {};
|
||||
ctx.history.Clear();
|
||||
|
||||
positionIndex = 0;
|
||||
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user