aboutsummaryrefslogtreecommitdiff
path: root/src/board/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/board/mod.rs')
-rw-r--r--src/board/mod.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/board/mod.rs b/src/board/mod.rs
index f710057..8d12a12 100644
--- a/src/board/mod.rs
+++ b/src/board/mod.rs
@@ -519,10 +519,7 @@ impl Board {
}
}
PieceType::Queen => {
- for source in serialize_bitboard(*piece) {
- // Scale down mobility because we don't want our queen to be rushing too much
- mobility += pop_count(self.attacks.queen(self.occupancy, source) & (empty | opponent_occupancy)) as f32 / 3.0;
- }
+ // Do not account queen in mobility
}
incorrect_type => panic!("Incorrect piece type: {:?}", incorrect_type),
}