diff options
Diffstat (limited to 'src/dynamic.c')
| -rwxr-xr-x | src/dynamic.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dynamic.c b/src/dynamic.c index 6a1dae8..a923e1a 100755 --- a/src/dynamic.c +++ b/src/dynamic.c @@ -461,9 +461,11 @@ Return value: **/ { PIECE p = ctx->sPosition.rgSquare[cSquare].pPiece; +#ifdef DEBUG ULONG uExpectedMover = (((ctx->uPly - uPly) & 1) ? FLIP(ctx->sPosition.uToMove) : ctx->sPosition.uToMove); +#endif ASSERT(uPly < MAX_PLY_PER_SEARCH); ASSERT(p && IS_VALID_PIECE(p) && !IS_PAWN(p)); |
