gobot:: clear the board in init_go_board

This commit is contained in:
Zeno Rogue committed 2023-08-14 20:15:18 +02:00
1 parent 590d8021c6
commit a70940b3ee
1 file changed
+2
+2
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;