X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fuci.cpp;h=77c963435f3faed7945c62c6851d141a134b3a14;hb=c51e12200a70ba91433181819ac5321f55c49f70;hp=23b0cc27e93be1bd8d837a52de9a9e5cc6e60a8e;hpb=9fc602bae74b8e09bd45ace3b42a8ce84d56b23c;p=stockfish diff --git a/src/uci.cpp b/src/uci.cpp index 23b0cc27..77c96343 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_game_ply(); + RootPosition.reset_ply(); } // Our StateInfo st is about going out of scope so copy // its content inside RootPosition before they disappear.