mirror of https://github.com/axmolengine/axmol.git
issue #61:
This commit is contained in:
parent
a7e9357781
commit
b12fac2958
|
@ -253,7 +253,9 @@ namespace cocos2d {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
NSAssert( this->m_pTexture != NULL, "CCParticleSystem: error loading the texture");
|
NSAssert( this->m_pTexture != NULL, "CCParticleSystem: error loading the texture");
|
||||||
|
|
||||||
CCX_BREAK_IF(!m_pTexture);
|
CCX_BREAK_IF(!m_pTexture);
|
||||||
|
this->m_pTexture->retain();
|
||||||
bRet = true;
|
bRet = true;
|
||||||
}
|
}
|
||||||
} while (0);
|
} while (0);
|
||||||
|
|
Loading…
Reference in New Issue