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 ad5fd56 commit 9826a0cCopy full SHA for 9826a0c
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