We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a75aaf commit abb7613Copy full SHA for abb7613
include/bitbishop/movegen/knight_moves.hpp
@@ -8,6 +8,7 @@
8
#include <utility>
9
#include <vector>
10
11
+// pinned knights cannot move at all due to knight's l-shaped move geometry
12
void generate_knight_legal_moves(std::vector<Move>& moves, const Board& board, Color us, const Bitboard& check_mask,
13
const PinResult& pins) {
14
const Bitboard own = board.friendly(us);
0 commit comments