Exempt variant seirawan from -disguisePromoted inheritance
authorH.G. Muller <h.g.muller@hccnet.nl>
Wed, 11 Jan 2012 11:28:43 +0000 (12:28 +0100)
committerH.G. Muller <h.g.muller@hccnet.nl>
Wed, 11 Jan 2012 11:28:43 +0000 (12:28 +0100)
This is not a variant where promoted Pawns have to be distingushed
from primordial pieces, as captured pieces do not go into the holdings.

backend.c

index 3df2b3a..4c05a05 100644 (file)
--- a/backend.c
+++ b/backend.c
@@ -4635,7 +4635,7 @@ ParseBoard12 (char *string)
            strcat(moveList[moveNum - 1], "\n");
 
             if(gameInfo.holdingsWidth && !appData.disguise && gameInfo.variant != VariantSuper && gameInfo.variant != VariantGreat
-                                 && gameInfo.variant != VariantGrand) // inherit info that ICS does not give from previous board
+               && gameInfo.variant != VariantGrand&& gameInfo.variant != VariantSChess) // inherit info that ICS does not give from previous board
               for(k=0; k<ranks; k++) for(j=BOARD_LEFT; j<BOARD_RGHT; j++) {
                 ChessSquare old, new = boards[moveNum][k][j];
                   if(fromY == DROP_RANK && k==toY && j==toX) continue; // dropped pieces always stand for themselves