From 8e30c5ef1cbef87eca95d0de4788c48f69a6c3bf Mon Sep 17 00:00:00 2001 From: svipal <48034417+svipal@users.noreply.github.com> Date: Sat, 8 Feb 2020 15:53:53 +0100 Subject: [PATCH] Update TileToWorldX.js --- src/tilemaps/components/TileToWorldX.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/tilemaps/components/TileToWorldX.js b/src/tilemaps/components/TileToWorldX.js index adf33cb2a..6ae1e0003 100644 --- a/src/tilemaps/components/TileToWorldX.js +++ b/src/tilemaps/components/TileToWorldX.js @@ -34,7 +34,6 @@ var TileToWorldX = function (tileX, camera, layer) tileWidth *= tilemapLayer.scaleX; } - if (orientation === 'orthogonal') { return layerWorldX + tileX * tileWidth;