fixed minor bug
This commit is contained in:
parent
472f9e4c7c
commit
0574a11b32
@ -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());
|
||||
|
Loading…
x
Reference in New Issue
Block a user