mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 15:37:47 +00:00
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:
+1
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user