mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-21 09:37:16 +08:00
Simplify sliding_attacks()
Easy, almost trivial simplification, I don't understand how I missed this before !! No functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -1649,7 +1649,6 @@ split_point_start: // At split points actual search starts from here
|
||||
|
||||
assert(move_is_ok(m));
|
||||
assert(threat && move_is_ok(threat));
|
||||
assert(!pos.move_gives_check(m));
|
||||
assert(!pos.move_is_capture(m) && !move_is_promotion(m));
|
||||
assert(!pos.move_is_passed_pawn_push(m));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user