Use generate_moves() in san.cpp

Instead of MovePicker and cleanup san.cpp

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
Marco Costalba
2010-12-25 11:22:55 +01:00
parent 61c03b9d22
commit a0f0a7dc4f
2 changed files with 70 additions and 71 deletions

View File

@@ -659,7 +659,7 @@ namespace {
Color us = pos.side_to_move();
if ( (Side == KING_SIDE && pos.can_castle_kingside(us))
if ( (Side == KING_SIDE && pos.can_castle_kingside(us))
||(Side == QUEEN_SIDE && pos.can_castle_queenside(us)))
{
Color them = opposite_color(us);