]> git.sesse.net Git - stockfish/commitdiff
Restore pliesFromNull counter
authorMarco Costalba <mcostalba@gmail.com>
Fri, 9 Oct 2009 09:08:42 +0000 (10:08 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Fri, 9 Oct 2009 09:11:43 +0000 (10:11 +0100)
It is not equivalent because the check for the
50 moves rule get badly affected.

// Draw by the 50 moves rule?
if (st->rule50 > 100 || (st->rule50 == 100 && !is_check()))
    return true;

So we _really_ need two counters.

Thanks to Joona and Tord to be patience with a silly guy ;-)

Signed-off-by: Marco Costalba <mcostalba@gmail.com>

No differences found