This commit is contained in:
Ming 2010-09-04 06:13:48 +00:00
parent 35fe435800
commit 0ee9e5fd0b
1 changed files with 1 additions and 0 deletions

View File

@ -74,6 +74,7 @@ namespace cocos2d
bool CCProgressTimer::initWithTexture(cocos2d::CCTexture2D *pTexture)
{
m_pSprite = CCSprite::spriteWithTexture(pTexture);
CCX_SAFE_RETAIN(m_pSprite);
m_fPercentage = 0.f;
m_pVertexData = NULL;
m_nVertexDataCount = 0;