gobot:: clear the board in init_go_board
This commit is contained in:
parent
590d8021c6
commit
a70940b3ee
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue