generate_checks: fix a bug in black double pawn push
authorMarco Costalba <mcostalba@gmail.com>
Sat, 18 Oct 2008 11:58:07 +0000 (13:58 +0200)
committerMarco Costalba <mcostalba@gmail.com>
Sat, 18 Oct 2008 19:35:34 +0000 (21:35 +0200)
commit5abe8a0816ee924952a44c738d747eb86c805ced
tree9f09bda32254760daf52d613ceeb3bb235e71e53
parent35fd5ce5bc3b2a99369e277a83b4426ab3bc5bc2
generate_checks: fix a bug in black double pawn push

It was written pos.black_pawn_attacks(ksq) instead of
pos.white_pawn_attacks(ksq)

Updated to the undrlying pos.pawn_attacks(WHITE, ksq)

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
src/movegen.cpp