mirror of
https://github.com/official-stockfish/Stockfish.git
synced 2026-07-22 12:47:08 +00:00
Don't process kings after #6609
https://github.com/official-stockfish/Stockfish/pull/6617 No functional change
This commit is contained in:
committed by
Joost VandeVondele
parent
5b5986b095
commit
84bdf5e2a6
@@ -212,7 +212,7 @@ void FullThreats::append_active_indices(Color perspective, const Position& pos,
|
||||
|
||||
for (Color color : {WHITE, BLACK})
|
||||
{
|
||||
for (PieceType pt = PAWN; pt <= KING; ++pt)
|
||||
for (PieceType pt = PAWN; pt < KING; ++pt)
|
||||
{
|
||||
Color c = Color(perspective ^ color);
|
||||
Piece attacker = make_piece(c, pt);
|
||||
|
||||
Reference in New Issue
Block a user