From 299f539a2e0b53b67fbd466136d68d58d76a77a0 Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Fri, 16 Feb 2018 11:27:52 +0100 Subject: [PATCH] Update: CC - Demo New - Entity Loaded (tuby5lj4di.js) 5 bytes modified --- tuby5lj4di.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);