bugfix in move.h | bench 1422551
This commit is contained in:
1 parent
e19af9df0e
commit
a978381e7b
1 file changed
+3
-3
+3
-3
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user