X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=moves.c;h=f0b2af7aefa9fc155bc483015839d90e8f650951;hb=ce28a7755e28a2d0d8d5887d8de1660dd7400340;hp=d8768f4009cc5dda989ba6295d81f71fefb299d2;hpb=c550c243e90e48b901f25cd0a609cfd6b8f2e326;p=xboard.git diff --git a/moves.c b/moves.c index d8768f4..f0b2af7 100644 --- a/moves.c +++ b/moves.c @@ -1221,13 +1221,13 @@ int MateTest(board, flags) if (cl.count > 0) { return inCheck ? MT_CHECK : MT_NONE; } else { - if(gameInfo.holdingsWidth && gameInfo.variant != VariantSuper || gameInfo.variant != VariantGreat) { // drop game + if(gameInfo.holdingsWidth && gameInfo.variant != VariantSuper && gameInfo.variant != VariantGreat) { // drop game int r, f, n, holdings = flags & F_WHITE_ON_MOVE ? BOARD_WIDTH-1 : 0; for(r=0; r