X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=backend.c;h=cb564b42810a15433c14541af23d4cdebe8b27e3;hb=7dd2dda538db6438283c4a92c24080b0bb122230;hp=857dcca1edfc3ff759372907a4fea78c06a5d746;hpb=a8217398f6ed66bbc0a2e989552710242e5e5598;p=xboard.git diff --git a/backend.c b/backend.c index 857dcca..cb564b4 100644 --- a/backend.c +++ b/backend.c @@ -6551,7 +6551,7 @@ HasPromotionChoice (int fromX, int fromY, int toX, int toY, char *promoChoice, i int p = piece >= BlackPawn ? BLACK_TO_WHITE piece : piece; promotionZoneSize = BOARD_HEIGHT/3; highestPromotingPiece = (p >= WhiteLion || PieceToChar(piece + 22) == '.') ? WhitePawn : WhiteLion; - } else if(gameInfo.variant == VariantShogi || gameInfo.variant == VariantChuChess) { + } else if(gameInfo.variant == VariantShogi) { promotionZoneSize = BOARD_HEIGHT/3; highestPromotingPiece = (int)WhiteAlfil; } else if(gameInfo.variant == VariantMakruk || gameInfo.variant == VariantGrand || gameInfo.variant == VariantChuChess) {