mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 08:37:44 +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 = ONE_PLY;
|
||||||
|
|
||||||
// Extension for king moves that change castling rights
|
// Extension for king moves that change castling rights
|
||||||
if ( type_of(movedPiece) == KING
|
if ( pos.can_castle(us)
|
||||||
&& pos.can_castle(us)
|
&& type_of(movedPiece) == KING
|
||||||
&& depth < 12 * ONE_PLY)
|
&& depth < 12 * ONE_PLY)
|
||||||
extension = ONE_PLY;
|
extension = ONE_PLY;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user