diff --git a/tuby5lj4di.js b/tuby5lj4di.js index c312d5e..7d1e818 100644 --- a/tuby5lj4di.js +++ b/tuby5lj4di.js @@ -51,7 +51,7 @@ this.ccKeyUp.entityLoaded = this; */ GameLib.CustomCode.prototype.generateAttributeData = function(index, width, height) { - var heightData = this.images[this.currentImageIndex].getHeightData(); + var heightData = this.images[index].getHeightData(); var offsets = []; var scales = []; @@ -129,4 +129,4 @@ GameLib.CustomCode.prototype.buildInstancedGeometry = function(index) { this.buildInstancedGeometry(0); -//@ sourceURL=entiyuLoaded.js \ No newline at end of file +//@ sourceURL=entiyLoaded.js \ No newline at end of file