bugfix | bench 4118297

This commit is contained in:
rektdie committed 2025-03-12 22:56:26 +01:00
1 parent 41fed91fc2
commit ed0782d349
1 file changed
+1 -1
+1 -1
View File
@@ -34,7 +34,7 @@ Move parseMove(Board &board, std::string_view str) {
// Promotion
if (str.length() > 4) {
if (board.GetPieceColor(from) != board.GetPieceColor(to)) {
if (board.occupied.IsSet(to)) {
switch(str[4]) {
case 'r':
flag = rookPromoCapture;