]> git.sesse.net Git - stockfish/blobdiff - src/position.h
Better clarify how pieceList[] and index[] work
[stockfish] / src / position.h
index b2cb4baf10c1a946670544e01aa0511d81cd2ea3..0a1576d4308efafefe580bdc6ecbac4c687cec1a 100644 (file)
@@ -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];