removed problemaic code
This commit is contained in:
parent
72ba6a80ae
commit
83af5f0b97
@ -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
|
// -- Castles
|
||||||
int8_t castling_rights = b.colour_at(xy) == Colour::White
|
int8_t castling_rights = b.colour_at(xy) == Colour::White
|
||||||
|
Loading…
x
Reference in New Issue
Block a user