using fixed size array instead of vector to store moves
This commit is contained in:
1 parent
d566c6d0e4
commit
6e8f7e3d86
5 files changed
+19
-14
No files matched your search
+1
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user