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();