issue #13: add initialization of m_bRecursiveDirty

This commit is contained in:
Ming 2010-08-02 10:15:35 +00:00
parent 6571dbafee
commit 70bf71e01d
1 changed files with 1 additions and 1 deletions

View File

@ -150,7 +150,7 @@ CCSprite* CCSprite::spriteWithSpriteSheet(CCSpriteSheet *pSpriteSheet, CGRect re
CCSprite* CCSprite::init(void)
{
m_bDirty = false;
m_bDirty = = m_bRecursiveDirty = false;
// by default use "Self Render".
// if the sprite is added to an SpriteSheet, then it will automatically switch to "SpriteSheet Render"