This commit is contained in:
Ming 2010-09-06 03:06:57 +00:00
parent e975c403ba
commit 515acaa4cf
1 changed files with 1 additions and 0 deletions

View File

@ -137,6 +137,7 @@ namespace cocos2d {
}
void CCTMXLayer::setTileSet(CCTMXTilesetInfo* var)
{
CCX_SAFE_RELEASE(m_pTileSet);
m_pTileSet = var;
CCX_SAFE_RETAIN(m_pTileSet);
}