Time.availableNodes = 0;
TT.clear();
Threads.clear();
+ Tablebases::init(Options["SyzygyPath"]); // Free up mapped files
}
extension = ONE_PLY;
// Extension for king moves that change castling rights
- if ( type_of(movedPiece) == KING
- && pos.can_castle(us)
+ if ( pos.can_castle(us)
+ && type_of(movedPiece) == KING
&& depth < 12 * ONE_PLY)
extension = ONE_PLY;