mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-25 11:36:51 +08:00
Fix compilation issues.
This commit is contained in:
@@ -5629,13 +5629,13 @@ namespace chess
|
||||
king ^= CastlingTraits::kingDestination[attackerColor][castleType];
|
||||
rooks ^= move.to;
|
||||
rooks ^= CastlingTraits::rookDestination[attackerColor][castleType];
|
||||
|
||||
break;
|
||||
}
|
||||
else
|
||||
{
|
||||
king ^= occupiedChange;
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
case PieceType::None:
|
||||
assert(false);
|
||||
|
||||
Reference in New Issue
Block a user