* added default value for _batchNode in CCSprite

This commit is contained in:
Dmitry Bushtets 2014-09-22 19:00:21 +03:00
parent 76fffb9402
commit d242d79443
1 changed files with 1 additions and 0 deletions

View File

@ -262,6 +262,7 @@ Sprite::Sprite(void)
: _shouldBeHidden(false)
, _texture(nullptr)
, _insideBounds(true)
, _batchNode(nullptr)
{
#if CC_SPRITE_DEBUG_DRAW
_debugDrawNode = DrawNode::create();