summaryrefslogtreecommitdiff
path: root/src/searchsup.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/searchsup.c')
-rw-r--r--src/searchsup.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/searchsup.c b/src/searchsup.c
index b79db3a..4e6a0ed 100644
--- a/src/searchsup.c
+++ b/src/searchsup.c
@@ -219,14 +219,7 @@ Return value:
ASSERT(mv.uMove);
ASSERT((uMoveNum > 0) || (uLegalMoves == 0));
- if ((uRemainingDepth >= TWO_PLY) &&
- (FALSE == ctx->sPlyInfo[ctx->uPly - 1].fPvNode) &&
- (uLegalMoves > 5) &&
- (0 == iExtend) &&
- (!IS_ESCAPING_CHECK(mv)) &&
- (!IS_CAPTURE_OR_PROMOTION(mv)) &&
- (!IS_CHECKING_MOVE(mv)) &&
- (!IS_SAME_MOVE(mv, ctx->mvKiller[ctx->uPly-1][0])) &&
+ if ((!IS_SAME_MOVE(mv, ctx->mvKiller[ctx->uPly-1][0])) &&
(!IS_SAME_MOVE(mv, ctx->mvKiller[ctx->uPly-1][1])) &&
((ctx->uPly < 3) ||
(!IS_SAME_MOVE(mv, ctx->mvKiller[ctx->uPly-3][0]) &&
@@ -234,9 +227,6 @@ Return value:
(GetMoveFailHighPercentage(mv, NULL) <= 10))
{
ASSERT(!InCheck(&ctx->sPosition, ctx->sPosition.uToMove));
- if (iImprovement <= 40) {
- return(-(ONE_PLY + QUARTER_PLY));
- }
return(-ONE_PLY);
}
return(0);