From: H.G. Muller Date: Sat, 12 Mar 2011 13:08:50 +0000 (+0100) Subject: Fix display of promotion piece in ICS superchess X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=e5add5b323b40468985d5a04e21d510d1fcaa673;p=xboard.git Fix display of promotion piece in ICS superchess In Great Shatranj and Superchess promoted Pawns were displayed as shadow piece because these variants had holdings, while captured pieces should go back into the holdings unchanged, rather than reverted to Pawns. --- diff --git a/backend.c b/backend.c index c724c0f..54a7e70 100644 --- a/backend.c +++ b/backend.c @@ -4368,7 +4368,8 @@ ParseBoard12(string) safeStrCpy(moveList[moveNum - 1], currentMoveString, sizeof(moveList[moveNum - 1])/sizeof(moveList[moveNum - 1][0])); strcat(moveList[moveNum - 1], "\n"); - if(gameInfo.holdingsWidth && !appData.disguise) // inherit info that ICS does not give from previous board + if(gameInfo.holdingsWidth && !appData.disguise && gameInfo.variant != VariantSuper + && gameInfo.variant != VariantGreat) // inherit info that ICS does not give from previous board for(k=0; k