Skip to content

Commit

Permalink
Add missing dragon promotion
Browse files Browse the repository at this point in the history
  • Loading branch information
gbtami committed Mar 25, 2024
1 parent 62577a4 commit 888bbe3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/variant.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 888bbe3

Please sign in to comment.