summaryrefslogtreecommitdiff
path: root/src/split.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/split.c')
-rwxr-xr-xsrc/split.c13
1 files changed, 5 insertions, 8 deletions
diff --git a/src/split.c b/src/split.c
index 28d5ce0..a1f9d32 100755
--- a/src/split.c
+++ b/src/split.c
@@ -1128,15 +1128,12 @@ Return value:
&iExtend);
//
- // Cap total extension plies spent on this line, same as the
- // non-split move loop in search.c does.
+ // Note: MAX_EXTEND_PER_LINE (a flat, non-depth-relative cap on
+ // total extension spent per line) used to be applied here.
+ // Removed -- g_uExtensionReduction[] is the sole extension-
+ // runaway guard now, same as the non-split move loop in
+ // search.c.
//
- if (iExtend > 0)
- {
- iExtend = MIN(iExtend,
- MAX(MAX_EXTEND_PER_LINE -
- ctx->sSearchFlags.iCumulativeExtend, 0));
- }
//
// Decide how much (if any) to reduce this move's depth.