mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 02:47:45 +00:00
fixup
This commit is contained in:
committed by
Stéphane Nicolet
parent
9315ba60e6
commit
df50ea5dc6
+2
-2
@@ -944,8 +944,8 @@ moves_loop: // When in check, search starts from here
|
||||
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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user