mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-17 07:36:23 +08:00
MovePicker: rename number_of_moves() in number_of_evasions()
It is more clear that only in that case the move number is correct, otherwise is only a partial quantity: the number of moves of that phase. In case of PH_EVASIONS instead we have only one phase. No functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -940,7 +940,7 @@ void Position::do_capture_move(Bitboard& key, PieceType capture, Color them, Squ
|
||||
|
||||
// Update piece list, move the last piece at index[capsq] position
|
||||
//
|
||||
// WARNING: this is a not perfectly revresible operation. When we
|
||||
// WARNING: This is a not perfectly revresible operation. When we
|
||||
// will reinsert the captured piece in undo_move() we will put it
|
||||
// at the end of the list and not in its original place, it means
|
||||
// index[] and pieceList[] are not guaranteed to be invariant to a
|
||||
|
||||
Reference in New Issue
Block a user