]> git.sesse.net Git - stockfish/blobdiff - src/san.cpp
Save threadID info in Position
[stockfish] / src / san.cpp
index 62383535bf0fa1d9959cd90920a6ef0fd1ab1276..f113e87028c39f4b5c1358073186e8d4f86225f7 100644 (file)
@@ -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;
   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++)
   {
 
   for (int i = 0; line[i] != MOVE_NONE; i++)
   {