Use do_move_bb() also for en passant moves
authorMarco Costalba <mcostalba@gmail.com>
Thu, 21 May 2009 09:28:51 +0000 (11:28 +0200)
committerMarco Costalba <mcostalba@gmail.com>
Thu, 21 May 2009 09:28:51 +0000 (11:28 +0200)
commit229274546fd60ae0734392d6e11cc04a23e98b06
tree11b6dc27559c2e8cc15d1b752a340d1609a607c5
parent3e40bd0648ab69c04e37da50fd3f3d4beb072df2
Use do_move_bb() also for en passant moves

Unfortunatly, due to Chess960 compatibility we cannot
extend also to castling where the destinations squares
are not guaranteed to be empty.

No functional change.

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