Files
Stockfish/src
Marco Costalba fc290dc30b Fix startpos_ply_counter() regression
Return the correct number of played plies at the end
of the setup moves. Currently it always returns 0 when
starting from start position, like in real games.

We fix this adding st->pliesFromNull that starts from 0
and is incremented after each setup move and is never
reset in the setup phase but only once search is started.

It is an hack because startpos_ply_counter() will return
different values during the search and is correct only
at the beginning of the search.

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
2011-07-24 06:59:14 +01:00
..
2011-06-15 12:11:35 +01:00
2011-06-21 19:01:00 +01:00
2011-07-14 12:43:13 +01:00
2011-07-02 14:04:33 +01:00
2011-06-28 17:11:03 +01:00
2011-04-13 13:17:21 +01:00
2011-04-28 08:00:34 +01:00
2011-06-15 12:11:35 +01:00
2011-05-23 20:20:31 +01:00
2011-07-16 22:59:14 +01:00
2011-07-14 12:43:13 +01:00
2011-07-16 22:59:14 +01:00
2011-07-16 22:59:14 +01:00
2011-04-11 12:35:54 +01:00
2011-03-10 08:08:34 +01:00
2011-04-29 13:08:35 +01:00
2011-07-02 14:04:33 +01:00
2011-07-24 06:59:14 +01:00
2011-06-24 10:31:03 +01:00
2011-04-29 13:08:27 +01:00