From 6e781862e42ef391832425a8f2d4c7dc76fe6a0f Mon Sep 17 00:00:00 2001 From: oc Date: Mon, 4 Feb 2019 17:19:01 +0800 Subject: [PATCH] floorImg animate --- libs/ui.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/ui.js b/libs/ui.js index d2392b9d..04209587 100644 --- a/libs/ui.js +++ b/libs/ui.js @@ -2497,7 +2497,7 @@ ui.prototype.drawThumbnail = function(floorId, canvas, blocks, x, y, size, cente // -------- 6. 绘制前景贴图 images.forEach(function (t) { - var dx=parseInt(t[0]), dy=parseInt(t[1]), p=t[2], frame = core.clamp(parseInt(t[3]), 1, 8); + var dx=parseInt(t[0]), dy=parseInt(t[1]), p=t[2], frame = core.clamp(parseInt(t[4]), 1, 8); if (core.isset(dx) && core.isset(dy) && !core.hasFlag("floorimg_"+floorId+"_"+dx+"_"+dy) && core.isset(core.material.images.images[p])) {