]> git.sesse.net Git - stockfish/blobdiff - src/uci.cpp
Don't update gamePly after each move
[stockfish] / src / uci.cpp
index 64489f79593095130fe3421bc2bb719523dcd389..931891a0263cc6c32f7df193a8380a487e9aa905 100644 (file)
@@ -39,7 +39,7 @@ namespace {
 
   // Keep track of position keys along the setup moves (from start position to the
   // position just before to start searching). This is needed by draw detection.
 
   // Keep track of position keys along the setup moves (from start position to the
   // position just before to start searching). This is needed by draw detection.
-  std::vector<StateInfo> SetupState;
+  std::vector<StateInfo> SetupState(200, StateInfo());
 
   // UCIParser is a class for parsing UCI input. The class
   // is actually a string stream built on a given input string.
 
   // UCIParser is a class for parsing UCI input. The class
   // is actually a string stream built on a given input string.