summaryrefslogtreecommitdiff
path: root/src/split.c
diff options
context:
space:
mode:
authorScott Gasch <[email protected]>2026-08-26 08:26:19 -0700
committerScott Gasch <[email protected]>2026-08-26 08:26:19 -0700
commit01f5b71fd484801f7b06df3bfb0156f5bb69fef7 (patch)
tree1fb03c6bd06c69f7a077301b20f000bb154e721c /src/split.c
parentdf0135e11e9ea3dd0acab94fdf437451ef7e522b (diff)
Don't [re-]consult the SEE when generator already just did so.
Diffstat (limited to 'src/split.c')
-rwxr-xr-xsrc/split.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/split.c b/src/split.c
index 703f6a8..bbaa518 100755
--- a/src/split.c
+++ b/src/split.c
@@ -1085,7 +1085,10 @@ Return value:
iCheckSee = 0;
if (IS_CHECKING_MOVE(mv))
{
- iCheckSee = SEE(&ctx->sPosition, mv);
+ iCheckSee = GetCheckSee(ctx,
+ mv,
+ ctx->sMoveStack.uBegin[ctx->uPly] +
+ uMoveNum);
}
if (MakeMove(ctx, mv))