]> git.sesse.net Git - stockfish/blobdiff - src/types.h
Fix crash when reaching max ply
[stockfish] / src / types.h
index d7dfb7ad9feecb0f28cf8e0ec8aad55c3ccd9dc1..86a86d195ccf25b4e6f1f5ce3e6295c856bafa5d 100644 (file)
@@ -90,7 +90,7 @@ typedef uint64_t Bitboard;
 
 const int MAX_MOVES      = 192;
 const int MAX_PLY        = 100;
-const int MAX_PLY_PLUS_3 = MAX_PLY + 3;
+const int MAX_PLY_PLUS_6 = MAX_PLY + 6;
 
 /// A move needs 16 bits to be stored
 ///