From a6f9533a94d7f56cd5bbcf567bcf788eade465cb Mon Sep 17 00:00:00 2001 From: boyu0 Date: Mon, 9 Sep 2013 10:34:03 +0800 Subject: [PATCH] issue #2771: add Node::_physicsBody to Node init list --- cocos2dx/base_nodes/CCNode.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/cocos2dx/base_nodes/CCNode.cpp b/cocos2dx/base_nodes/CCNode.cpp index bc8aa7c95f..b6ab5fa20e 100644 --- a/cocos2dx/base_nodes/CCNode.cpp +++ b/cocos2dx/base_nodes/CCNode.cpp @@ -121,6 +121,7 @@ Node::Node(void) , _updateScriptHandler(0) , _componentContainer(NULL) , _scene(nullptr) +, _physicsBody(nullptr) { // set default scheduler and actionManager Director *director = Director::getInstance();