diff --git a/tuby5lj4di.js b/tuby5lj4di.js index 7d1e818..1f5d997 100644 --- a/tuby5lj4di.js +++ b/tuby5lj4di.js @@ -62,7 +62,7 @@ GameLib.CustomCode.prototype.generateAttributeData = function(index, width, heig for (x = 0; x < width; x++) { for (y = 0; y < height; y++) { z = heightData[(y * width) + x] * 10; - scale = height * 0.19; + scale = z * 0.19; offsets.push((x - 64) * 2, (64 - y) * 2, z); orientations.push(0, 0, 0, 1); scales.push(scale, scale, scale);