mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-20 09:06:45 +08:00
Rename MOVES_MAX in MAX_MOVES
No functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -459,7 +459,7 @@ Move Book::get_move(const Position& pos, bool findBestMove) {
|
||||
move_to(Move(bookMove)), PieceType(p + 1)));
|
||||
|
||||
// Verify the book move (if any) is legal
|
||||
MoveStack mlist[MOVES_MAX];
|
||||
MoveStack mlist[MAX_MOVES];
|
||||
MoveStack* last = generate<MV_LEGAL>(pos, mlist);
|
||||
for (MoveStack* cur = mlist; cur != last; cur++)
|
||||
if ((int(cur->move) & ~(3 << 14)) == bookMove) // Mask out special flags
|
||||
|
||||
Reference in New Issue
Block a user