From 3f030ff010dc2d633d5f796668d6c27a14de9b07 Mon Sep 17 00:00:00 2001 From: oc Date: Tue, 9 Apr 2019 23:47:03 +0800 Subject: [PATCH] fix _drawAutotile bug --- libs/maps.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/maps.js b/libs/maps.js index 66d66a03..f8cc1a66 100644 --- a/libs/maps.js +++ b/libs/maps.js @@ -977,10 +977,10 @@ maps.prototype._drawAutotileAnimate = function (block, animate) { if (block.name) { if (block.name == 'bg') core.drawImage('bg', core.material.groundCanvas.canvas, 32 * x, 32 * y); - this.drawAutotile(cv, core.status.autotileAnimateObjs[block.name+"map"], block, 32, 0, 0, animate); + this._drawAutotile(cv, core.status.autotileAnimateObjs[block.name+"map"], block, 32, 0, 0, animate); } else { - this.drawAutotile(cv, core.status.autotileAnimateObjs.map, block, 32, 0, 0, animate); + this._drawAutotile(cv, core.status.autotileAnimateObjs.map, block, 32, 0, 0, animate); } }