Merge pull request #535 from minggo/master

fixed a assert error
This commit is contained in:
minggo 2011-09-29 01:13:49 -07:00
commit 33c7caf555
1 changed files with 0 additions and 4 deletions

View File

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