X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fuci.cpp;h=db9e6220fca0574ca8d449023c2212d81de07845;hp=fdc220014a44cadc7924f94490218e4d52614c13;hb=605b3aedd5b2cc530db417fc8bb57cc45200cca1;hpb=ab127028ed51ccf2fe22285f8032d2455e6d98d2 diff --git a/src/uci.cpp b/src/uci.cpp index fdc22001..db9e6220 100644 --- a/src/uci.cpp +++ b/src/uci.cpp @@ -206,7 +206,7 @@ namespace { move = move_from_string(RootPosition, token); RootPosition.do_move(move, st); if (RootPosition.rule_50_counter() == 0) - RootPosition.reset_ply(); + RootPosition.reset_game_ply(); } // Our StateInfo st is about going out of scope so copy // its content inside RootPosition before they disappear.