mirror of https://github.com/axmolengine/axmol.git
Properly resets the tile's Y flipping
This bug caused many tiles to be Y flipped if only one tile was actually intended to be flipped.
This commit is contained in:
parent
b3e499c6db
commit
f875366cc6
|
@ -244,7 +244,7 @@ void CCTMXLayer::setupTileSprite(CCSprite* sprite, CCPoint pos, unsigned int gid
|
|||
|
||||
//issue 1264, flip can be undone as well
|
||||
sprite->setFlipX(false);
|
||||
sprite->setFlipX(false);
|
||||
sprite->setFlipY(false);
|
||||
sprite->setRotation(0.0f);
|
||||
sprite->setAnchorPoint(ccp(0,0));
|
||||
|
||||
|
|
Loading…
Reference in New Issue