]> git.sesse.net Git - stockfish/commitdiff
Fix x-ray attack from behind in evaluate_passed_pawns()
authorMarco Costalba <mcostalba@gmail.com>
Sun, 11 Oct 2009 16:30:35 +0000 (18:30 +0200)
committerMarco Costalba <mcostalba@gmail.com>
Mon, 12 Oct 2009 07:36:35 +0000 (09:36 +0200)
Fix a condition for x-ray attack of a queen or
a rook behind a pawn of us. Previous condition does
not check if the enemy slider behind our pawn is
really attacking the pawn.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>

No differences found