1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-17 18:54:48 +00:00

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

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;