put back good code
This commit is contained in:
parent
83af5f0b97
commit
b70ca5302a
@ -45,8 +45,8 @@ legal_moves(int8_t p, const Board& b, const Coords xy, bool looking_for_check) {
|
||||
break;
|
||||
}
|
||||
|
||||
// if (!looking_for_check)
|
||||
// return keep_only_blocking(ret, b);
|
||||
if (!looking_for_check)
|
||||
return keep_only_blocking(ret, b);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user