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)
commit6ed409eceeb8caa81604c107b5ce0713b88bbae2
tree0fa4f51b2000601c55a5ab927f57ade01d7493d6
parent200fc56e9ce2ce5b879b0cae8268703f041c40b2
Fix bestmove output in multi PV case

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>
src/search.cpp