1
0
Fork 0
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:
Marco Costalba 2012-12-26 12:27:09 +01:00
parent db097921bc
commit 9d1978e217

View file

@ -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);