From: Marco Costalba Date: Sat, 28 May 2011 09:35:52 +0000 (+0100) Subject: Fix moveCount after legality check delay X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=853e2a9495afbe5789727c4c666c73c8276d8585;hp=853e2a9495afbe5789727c4c666c73c8276d8585 Fix moveCount after legality check delay We really want PV moves and also Split Point moves to be legal to avoid messing the move counter and corresonding PV move detection or shared Split Point's counter variable. This fixes a real bug where a position with only one move allowed returns bestValue == -VALUE_INFINITE if the move turns out to be illegal. Signed-off-by: Marco Costalba ---