mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-04-10 12:46:44 +00:00
rogueviz::dhrg:: fixed VLA
This commit is contained in:
parent
f1e91a1614
commit
942fd9dafb
@ -139,8 +139,7 @@ void cellcoords() {
|
||||
// needs cellcoords/rvcoords/origcoords
|
||||
void build_disttable() {
|
||||
indenter_finish im("build_disttable");
|
||||
int tab[N];
|
||||
for(int i=0; i<N; i++) tab[i] = N;
|
||||
vector<int> tab(N, N);
|
||||
disttable0.clear();
|
||||
disttable1.clear();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user