mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-14 11:15:48 +00:00
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() {
|
void init_go_board() {
|
||||||
ac = currentmap->allcells();
|
ac = currentmap->allcells();
|
||||||
|
current.taken.clear();
|
||||||
|
current.owner.clear();
|
||||||
current.taken.resize(isize(ac), 2);
|
current.taken.resize(isize(ac), 2);
|
||||||
current.owner.resize(isize(ac), 2);
|
current.owner.resize(isize(ac), 2);
|
||||||
current.captures[0] = 0;
|
current.captures[0] = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user