From e5add5b323b40468985d5a04e21d510d1fcaa673 Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Sat, 12 Mar 2011 14:08:50 +0100 Subject: [PATCH] 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. --- backend.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) 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