Rename MOVES_MAX in MAX_MOVES

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
Marco Costalba
2011-04-24 08:54:36 +01:00
parent ccd5ccbcdb
commit c9d7e99de6
8 changed files with 14 additions and 14 deletions

View File

@@ -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