Fix lingering state bug in movegen

This commit is contained in:
Quinten Kock 2020-06-19 02:15:01 +02:00
parent 25156e7ac7
commit cc5562c533
1 changed files with 1 additions and 0 deletions

View File

@ -50,6 +50,7 @@ Move Movegen::next_move() {
}
square++;
direction = 0;
target_square = square;
}
return INVALID_MOVE;
}