mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-26 08:07:10 +00:00
gobot:: clear uninitialized indices on init_go_board
This commit is contained in:
1 parent
000726f450
commit
44e9c3e317
1 file changed
+1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user