diff options
-rw-r--r-- | src/board/mod.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/board/mod.rs b/src/board/mod.rs index f4fde0c..2b186d4 100644 --- a/src/board/mod.rs +++ b/src/board/mod.rs @@ -518,9 +518,7 @@ impl Board { } } PieceType::Queen => { - for source in serialize_bitboard(*piece) { - mobility += pop_count(self.attacks.queen(self.occupancy, source) & (empty | opponent_occupancy)) as f32; - } + // We do not include queen moves in mobility! } incorrect_type => panic!("Incorrect piece type: {:?}", incorrect_type), } |