mirror of
https://github.com/sockspls/badfish
synced 2025-07-11 19:49:14 +00:00
Remove two obsolete asserts in prevents_move
Now that this function is called also to calculate move's extensions the asserts are no more valid. No functional change.
This commit is contained in:
parent
db097921bc
commit
9d1978e217
1 changed files with 0 additions and 2 deletions
|
@ -1396,8 +1396,6 @@ split_point_start: // At split points actual search starts from here
|
|||
|
||||
assert(is_ok(first));
|
||||
assert(is_ok(second));
|
||||
assert(!pos.is_capture_or_promotion(first));
|
||||
assert(!pos.is_passed_pawn_push(first));
|
||||
|
||||
Square m1from = from_sq(first);
|
||||
Square m2from = from_sq(second);
|
||||
|
|
Loading…
Add table
Reference in a new issue