gobot:: clear the board in init_go_board

This commit is contained in:
Zeno Rogue 2023-08-14 20:15:18 +02:00
parent 590d8021c6
commit a70940b3ee
1 changed files with 2 additions and 0 deletions

View File

@ -52,6 +52,8 @@ bool draw_go(cell *c, const shiftmatrix& V);
void init_go_board() {
ac = currentmap->allcells();
current.taken.clear();
current.owner.clear();
current.taken.resize(isize(ac), 2);
current.owner.resize(isize(ac), 2);
current.captures[0] = 0;