From: H.G. Muller Date: Wed, 28 Dec 2011 12:38:59 +0000 (+0100) Subject: Don't test drops as mate evasions in variant seirawan X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=51c9e1b8ab3c5d4979bc4569b3d0387b09977315;p=xboard.git Don't test drops as mate evasions in variant seirawan --- diff --git a/moves.c b/moves.c index 3ea2ab0..354c70d 100644 --- a/moves.c +++ b/moves.c @@ -1284,7 +1284,7 @@ int MateTest(board, flags) return inCheck ? MT_CHECK : MT_NONE; } else { if(gameInfo.holdingsWidth && gameInfo.variant != VariantSuper && gameInfo.variant != VariantGreat - && gameInfo.variant != VariantGrand) { // drop game + && gameInfo.variant != VariantSChess && gameInfo.variant != VariantGrand) { // drop game int r, f, n, holdings = flags & F_WHITE_ON_MOVE ? BOARD_WIDTH-1 : 0; for(r=0; r