This commit is contained in:
Azgaar 2019-10-03 00:48:33 +03:00
parent 481d7da4e6
commit 8ff1fe46b8
9 changed files with 31 additions and 28 deletions

View file

@ -263,7 +263,7 @@ function getHeight(h) {
// assign saved pack data from grid back to pack
const n = pack.cells.i.length;
pack.cells.pop = new Uint16Array(n);
pack.cells.pop = new Float32Array(n);
pack.cells.road = new Uint16Array(n);
pack.cells.crossroad = new Uint16Array(n);
pack.cells.s = new Uint16Array(n);