From f875366cc6598d4bbc755e032e6323f3585bfa47 Mon Sep 17 00:00:00 2001 From: NatWeiss Date: Tue, 16 Apr 2013 15:01:22 -0700 Subject: [PATCH] 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. --- cocos2dx/tilemap_parallax_nodes/CCTMXLayer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cocos2dx/tilemap_parallax_nodes/CCTMXLayer.cpp b/cocos2dx/tilemap_parallax_nodes/CCTMXLayer.cpp index 6d348ab69f..a1fa5f4663 100644 --- a/cocos2dx/tilemap_parallax_nodes/CCTMXLayer.cpp +++ b/cocos2dx/tilemap_parallax_nodes/CCTMXLayer.cpp @@ -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));