From 129cde008c4b03cb129e4b3a0e048f3772f530eb Mon Sep 17 00:00:00 2001 From: Marco Costalba Date: Wed, 26 Aug 2009 16:59:58 +0100 Subject: [PATCH] Disable again null move at depth == OnePly Signed-off-by: Marco Costalba --- src/search.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/search.cpp b/src/search.cpp index 944d9c69..804108b4 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) -- 2.39.2