From: Marco Costalba Date: Sat, 16 Feb 2013 11:42:22 +0000 (+0100) Subject: Account for gamePly after each move X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=76caef8ba1fb4ca0520a8e2b42815d626484e93c;hp=76caef8ba1fb4ca0520a8e2b42815d626484e93c Account for gamePly after each move Rename startPosPly to gamePly and increment/decrement the variable after each do/undo move. This adds a little overhead in do_move() but we will need to have the game ply during the search for the next patches now under test. Currently we don't increment gamePly in do_null_move() becuase it is not needed at the moment. Could change in the future. As a nice side effect we can now remove an hack in startpos_ply_counter(). No functional change. ---