projects
/
fairystockfish.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
62577a4
)
Add missing dragon promotion
author
gbtami
<gbtami@gmail.com>
Mon, 25 Mar 2024 20:31:37 +0000 (21:31 +0100)
committer
Fabian Fichter
<ianfab@users.noreply.github.com>
Mon, 25 Mar 2024 21:23:02 +0000 (22:23 +0100)
src/variant.cpp
patch
|
blob
|
history
diff --git
a/src/variant.cpp
b/src/variant.cpp
index
5b21b53
..
bf61a04
100644
(file)
--- 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