This commit is contained in:
Ming 2010-09-06 02:04:28 +00:00
parent a7e9357781
commit b12fac2958
1 changed files with 2 additions and 0 deletions

View File

@ -253,7 +253,9 @@ namespace cocos2d {
}
}
NSAssert( this->m_pTexture != NULL, "CCParticleSystem: error loading the texture");
CCX_BREAK_IF(!m_pTexture);
this->m_pTexture->retain();
bRet = true;
}
} while (0);