mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-25 09:30:35 +00:00
gobot:: clear uninitialized indices on init_go_board
This commit is contained in:
parent
000726f450
commit
44e9c3e317
@ -59,6 +59,7 @@ void init_go_board() {
|
||||
current.captures[0] = 0;
|
||||
current.captures[1] = 0;
|
||||
shstream f; mapstream::save_geometry(f); current.geom = f.s;
|
||||
indices.clear();
|
||||
for(int i=0; i<isize(ac); i++)
|
||||
indices[ac[i]] = i;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user