mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-19 16:46:30 +08:00
Use pointers instead of array indices also for badCaptures
To have uniformity with moves array handling. No functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -80,9 +80,9 @@ private:
|
||||
const History& H;
|
||||
MoveStack ttMoves[2], killers[2];
|
||||
bool finished;
|
||||
int numOfBadCaptures, phase;
|
||||
int phase;
|
||||
const MovegenPhaseT* phasePtr;
|
||||
MoveStack *curMove, *lastMove;
|
||||
MoveStack *curMove, *lastMove, *lastBadCapture;
|
||||
Bitboard dc, pinned;
|
||||
MoveStack moves[256], badCaptures[64];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user