removed problemaic code

This commit is contained in:
Karma Riuk 2025-02-03 15:35:43 +01:00
parent 72ba6a80ae
commit 83af5f0b97

View File

@ -45,8 +45,6 @@ std::vector<Move> king_moves(const Board& b, const Coords xy) {
}
}
if (b.is_check_for(b.colour_at(xy)))
return ret;
// -- Castles
int8_t castling_rights = b.colour_at(xy) == Colour::White