X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsan.cpp;h=f113e87028c39f4b5c1358073186e8d4f86225f7;hp=62383535bf0fa1d9959cd90920a6ef0fd1ab1276;hb=2f6927ac08887ff3b709cfe9228b27a85bdd1d88;hpb=f148a8f6ccbb57c440910ecfd4845c7f497b5404 diff --git a/src/san.cpp b/src/san.cpp index 62383535..f113e870 100644 --- a/src/san.cpp +++ b/src/san.cpp @@ -299,7 +299,7 @@ const string line_to_san(const Position& pos, Move line[], int startColumn, bool string moveStr; size_t length = 0; size_t maxLength = 80 - startColumn; - Position p(pos); + Position p(pos, pos.thread()); for (int i = 0; line[i] != MOVE_NONE; i++) {