mirror of https://github.com/axmolengine/axmol.git
issue #2771: add Node::_physicsBody to Node init list
This commit is contained in:
parent
1d47737f45
commit
a6f9533a94
|
@ -121,6 +121,7 @@ Node::Node(void)
|
||||||
, _updateScriptHandler(0)
|
, _updateScriptHandler(0)
|
||||||
, _componentContainer(NULL)
|
, _componentContainer(NULL)
|
||||||
, _scene(nullptr)
|
, _scene(nullptr)
|
||||||
|
, _physicsBody(nullptr)
|
||||||
{
|
{
|
||||||
// set default scheduler and actionManager
|
// set default scheduler and actionManager
|
||||||
Director *director = Director::getInstance();
|
Director *director = Director::getInstance();
|
||||||
|
|
Loading…
Reference in New Issue