X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=backend.c;h=d637ab1dd8d85ddc20a5942873be129930039bf3;hb=17d5e197ff197599a155a56cf2adaca266774a48;hp=e4e35508e40515d11922b0c591cbd0873144f95c;hpb=4ac8f856998e69684cb3465ffaead92a6a6ed9b1;p=xboard.git diff --git a/backend.c b/backend.c index e4e3550..d637ab1 100644 --- a/backend.c +++ b/backend.c @@ -6566,7 +6566,7 @@ HasPromotionChoice (int fromX, int fromY, int toX, int toY, char *promoChoice, i promotionZoneSize = BOARD_HEIGHT/3; highestPromotingPiece = (p >= WhiteLion || PieceToChar(piece + 22) == '.') ? WhitePawn : WhiteLion; } else if(gameInfo.variant == VariantShogi) { - promotionZoneSize = BOARD_HEIGHT/3; + promotionZoneSize = BOARD_HEIGHT/3 +(BOARD_HEIGHT == 8); highestPromotingPiece = (int)WhiteAlfil; } else if(gameInfo.variant == VariantMakruk || gameInfo.variant == VariantGrand || gameInfo.variant == VariantChuChess) { promotionZoneSize = 3;