We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b61f989 commit 8d36ae4Copy full SHA for 8d36ae4
cocos2d-ext/TileMaps/CCTiledMapLayer.m
@@ -101,7 +101,7 @@ -(id) initWithTilesetInfo:(CCTiledMapTilesetInfo*)tilesetInfo layerInfo:(CCTiled
101
102
// offset (after layer orientation is set);
103
CGPoint offset = [self calculateLayerOffset:layerInfo.offset];
104
- [self setPosition:ccpMult(offset, pixelsToPoints)];
+ [self setPosition:offset];
105
106
[self setContentSize:CGSizeMake( _mapColumns * _tileWidth, _mapRows * _tileHeight)];
107
0 commit comments