mirror of https://github.com/axmolengine/axmol.git
issue #61:
This commit is contained in:
parent
e975c403ba
commit
515acaa4cf
|
@ -137,6 +137,7 @@ namespace cocos2d {
|
|||
}
|
||||
void CCTMXLayer::setTileSet(CCTMXTilesetInfo* var)
|
||||
{
|
||||
CCX_SAFE_RELEASE(m_pTileSet);
|
||||
m_pTileSet = var;
|
||||
CCX_SAFE_RETAIN(m_pTileSet);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue