Finish implementation of Shogi
[capablanca.git] / lasker-2.2.3 / src / board.c
index 5c974f1..315df34 100644 (file)
@@ -1032,6 +1032,9 @@ static int board_read_file(char *category, char *gname, struct game_state_t *gs)
                gs->promoType = 2; // only promote to captured pieces
                gs->holdings = 1;  // use holdings to hold own captured pieces
                break;
+           case 'S':
+               gs->promoType = 3; // Shogi-type promotions
+               break;
            case 'F':
                gs->castlingStyle = 2; // FRC castling
                break;