using fixed size array instead of vector to store moves

This commit is contained in:
rektdie committed 2024-06-19 02:30:28 +02:00
1 parent d566c6d0e4
commit 6e8f7e3d86
5 files changed
+19 -14

No files matched your search

+1 -1
View File
@@ -973,7 +973,7 @@ void GenAttackMaps(Board &board) {
}
void GenerateMoves(Board &board, bool side) {
board.moveList.clear();
board.ResetMoves();
if (board.InCheck(side)) {
GenCheckEvasions(board, side);