From: gbtami Date: Mon, 25 Mar 2024 20:31:37 +0000 (+0100) Subject: Add missing dragon promotion X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=1ab906f152c89426563453da8a4c414048e55596;p=fairystockfish.git Add missing dragon promotion --- diff --git a/src/variant.cpp b/src/variant.cpp index 5b21b53..bf61a04 100644 --- a/src/variant.cpp +++ b/src/variant.cpp @@ -744,6 +744,8 @@ namespace { v->capturesToHand = false; v->whiteDropRegion = Rank1BB; v->blackDropRegion = Rank8BB; + v->promotionPieceTypes[WHITE] = piece_set(ARCHBISHOP) | QUEEN | ROOK | BISHOP | KNIGHT; + v->promotionPieceTypes[BLACK] = piece_set(ARCHBISHOP) | QUEEN | ROOK | BISHOP | KNIGHT; return v; } // Paradigm chess30