mirror of
https://github.com/sockspls/badfish
synced 2025-04-30 08:43:09 +00:00
Remove redundancy in evaluate_unstoppable_pawns()
Spotted by Fruity http://open-chess.org/viewtopic.php?f=5&t=1156&start=20 No functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
parent
18c9b5ee86
commit
75acd52415
1 changed files with 1 additions and 1 deletions
|
@ -1014,7 +1014,7 @@ namespace {
|
|||
|
||||
// Check pawns that can give support to overcome obstacle, for instance
|
||||
// black pawns: a4, b4 white: b2 then pawn in b4 is giving support.
|
||||
if (!opposed && square_file(s1) != square_file(s2))
|
||||
if (!opposed)
|
||||
{
|
||||
supBB = in_front_bb(winnerSide, s2 + pawn_push(winnerSide)) & neighboring_files_bb(s1) & candidates;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue