canvas renderer typo fix

This commit is contained in:
Svipal 2020-03-22 08:48:26 +01:00
parent 9c23f7e72f
commit 33daee1d27

View file

@ -96,7 +96,7 @@ var DynamicTilemapLayerCanvasRenderer = function (renderer, src, interpolationPe
{ {
// we use the tileset width and height because in isometric and hexagonal maps the tileset's height is often different from the tilemap's. // we use the tileset width and height because in isometric and hexagonal maps the tileset's height is often different from the tilemap's.
width = tileset.tileWidth; width = tileset.tileWidth;
width = tileset.tileHeight; height = tileset.tileHeight;
} }
var halfWidth = width / 2; var halfWidth = width / 2;