diff options
Diffstat (limited to 'src/board/engine.rs')
-rw-r--r-- | src/board/engine.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/board/engine.rs b/src/board/engine.rs index 5168350..d58e529 100644 --- a/src/board/engine.rs +++ b/src/board/engine.rs @@ -99,7 +99,7 @@ impl Board { } let color = self.color(); - let moves = self.generate_pseudolegal_moves(color); + let moves = self.generate_pseudolegal_moves(); if print { println!("Running perft for depth {}. Color to move is {:?}\n{} moves available", depth, color, moves.len()); @@ -374,7 +374,7 @@ impl Board { return (self.quiscence(alpha, beta), principal_variation); } - let mut moves = self.generate_pseudolegal_moves(color); + let mut moves = self.generate_pseudolegal_moves(); moves = self.order_moves(moves, parent_killers.to_vec()); let mut should_pv_search = true; @@ -469,7 +469,7 @@ impl Board { pub fn quiscence(&mut self, mut alpha: f32, beta: f32) -> f32 { let color = self.color(); - let mut moves = self.generate_pseudolegal_moves(color); + let mut moves = self.generate_pseudolegal_moves(); moves = self.order_moves(moves, Vec::new()); if !self.is_king_in_check(color) { |