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:
NatWeiss 2013-04-16 15:01:22 -07:00
parent b3e499c6db
commit f875366cc6
1 changed files with 1 additions and 1 deletions

View File

@ -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));