1
0
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:
Zeno Rogue 2023-08-14 20:23:54 +02:00
parent 000726f450
commit 44e9c3e317

View File

@ -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;
}