]> git.sesse.net Git - stockfish/commitdiff
Fix bestmove output in multi PV case
authorMarco Costalba <mcostalba@gmail.com>
Sun, 28 Nov 2010 16:05:49 +0000 (17:05 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Sun, 28 Nov 2010 16:05:49 +0000 (17:05 +0100)
When MultiPV > 1, always take bestmove from the RootMoveList
(and don't bother with a ponder move). Without that the bestmove
is most probably incorrect.

Patch from Peter Petrov.

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

No differences found