This commit is contained in:
ckcz123 2021-07-29 13:12:22 +08:00
parent de7c9abf80
commit 3ebc23cc77

View File

@ -927,7 +927,7 @@ maps.prototype._drawBlockInfo = function (blockInfo, x, y, ctx) {
if (alpha != null) core.setAlpha(ctx, alpha);
if (height > 32) {
alpha = null;
if (blockInfo.opacity != null) alpha = core.setAlpha('event2', block.opacity);
if (blockInfo.opacity != null) alpha = core.setAlpha('event2', blockInfo.opacity);
core.clearMap('event2', px, py + 32 - height, 32, height - 32)
core.drawImage('event2', image, posX * 32, posY * height, 32, height - 32, px, py + 32 - height, 32, height - 32);
if (alpha != null) core.setAlpha('event2', alpha);