mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 16:47:37 +00: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:
+2
-2
@@ -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