From 01f5b71fd484801f7b06df3bfb0156f5bb69fef7 Mon Sep 17 00:00:00 2001 From: Scott Gasch Date: Wed, 26 Aug 2026 08:26:19 -0700 Subject: Don't [re-]consult the SEE when generator already just did so. --- src/split.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/split.c') 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)) -- cgit v1.3