diff --git a/src/movepick.cpp b/src/movepick.cpp index e4a610afe..23b7facbb 100644 --- a/src/movepick.cpp +++ b/src/movepick.cpp @@ -136,7 +136,7 @@ ExtMove* MovePicker::score(MoveList& ml) { threatByLesser[ROOK] = pos.attacks_by(~us) | pos.attacks_by(~us) | threatByLesser[KNIGHT]; threatByLesser[QUEEN] = pos.attacks_by(~us) | threatByLesser[ROOK]; - threatByLesser[KING] = pos.attacks_by(~us) | threatByLesser[QUEEN]; + threatByLesser[KING] = 0; } ExtMove* it = cur;