fixed minor bug

This commit is contained in:
Karma Riuk 2025-02-02 21:37:43 +01:00
parent 472f9e4c7c
commit 0574a11b32

View File

@ -5,7 +5,7 @@
#include <vector>
std::vector<Move> rook_moves(const Board& b, const Coords xy) {
std::vector<Move> queen_moves(const Board& b, const Coords xy) {
std::vector<Move> ret;
auto e = look_direction(b, xy, 1, 0);
ret.insert(ret.end(), e.begin(), e.end());