mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 06:17:49 +00:00
Better clarify how pieceList[] and index[] work
Rearrange the code a bit to be more self-documenting. No functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
+1
-1
@@ -342,7 +342,7 @@ private:
|
||||
|
||||
// Piece lists
|
||||
Square pieceList[2][8][16]; // [color][pieceType][index]
|
||||
int index[64];
|
||||
int index[64]; // [square]
|
||||
|
||||
// Other info
|
||||
Square kingSquare[2];
|
||||
|
||||
Reference in New Issue
Block a user