diff --git a/cocos2dx/tileMap_parallax_nodes/CCTMXLayer.cpp b/cocos2dx/tileMap_parallax_nodes/CCTMXLayer.cpp index e2d6af276c..837adb2fd6 100644 --- a/cocos2dx/tileMap_parallax_nodes/CCTMXLayer.cpp +++ b/cocos2dx/tileMap_parallax_nodes/CCTMXLayer.cpp @@ -381,10 +381,6 @@ namespace cocos2d { // append should be after addQuadFromSprite since it modifies the quantity values ccCArrayInsertValueAtIndex(m_pAtlasIndexArray, (void*)z, indexForZ); - // set z tag - addSpriteWithoutQuad(m_pReusedTile, indexForZ, z); - m_pReusedTile->release(); - return m_pReusedTile; }