mirror of
https://github.com/photonstorm/phaser
synced 2024-11-16 09:48:18 +00:00
tileOffset is always set, so this check is redundant #5637
This commit is contained in:
parent
32209baf39
commit
d0b5b91a5e
1 changed files with 2 additions and 7 deletions
|
@ -78,13 +78,8 @@ var TilemapLayerWebGLRenderer = function (renderer, src, camera)
|
|||
var tw = tileset.tileWidth * 0.5;
|
||||
var th = tileset.tileHeight * 0.5;
|
||||
|
||||
var tOffsetX = 0;
|
||||
var tOffsetY = 0;
|
||||
|
||||
if (tileset.tileoffset) {
|
||||
tOffsetX = tileset.tileoffset.x;
|
||||
tOffsetY = tileset.tileoffset.y;
|
||||
}
|
||||
var tOffsetX = tileset.tileOffset.x;
|
||||
var tOffsetY = tileset.tileoffset.y;
|
||||
|
||||
var tint = getTint(tile.tint, alpha * tile.alpha);
|
||||
|
||||
|
|
Loading…
Reference in a new issue