bugfix in move.h | bench 1422551

This commit is contained in:
rektdie committed 2025-04-18 10:12:42 +02:00
1 parent e19af9df0e
commit a978381e7b
1 file changed
+3 -3
+3 -3
View File
@@ -107,13 +107,13 @@ public:
promoPiece = 0;
}
else if (flags == bishopPromotion || flags == bishopPromoCapture) {
promoPiece = 0;
promoPiece = 1;
}
else if (flags == rookPromotion || flags == rookPromoCapture) {
promoPiece = 0;
promoPiece = 3;
}
else if (flags == queenPromotion || flags == queenPromoCapture) {
promoPiece = 0;
promoPiece = 4;
}
}