From: Marco Costalba Date: Wed, 26 Aug 2009 15:59:58 +0000 (+0100) Subject: Disable again null move at depth == OnePly X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=129cde008c4b03cb129e4b3a0e048f3772f530eb;p=fairystockfish.git Disable again null move at depth == OnePly Signed-off-by: Marco Costalba --- diff --git a/src/search.cpp b/src/search.cpp index 944d9c6..804108b 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1282,7 +1282,7 @@ namespace { bool isCheck = pos.is_check(); bool useNullMove = ( allowNullmove - //&& depth > OnePly + && depth > OnePly && !isCheck && !value_is_mate(beta) && ok_to_do_nullmove(pos)