mirror of https://github.com/axmolengine/axmol.git
fixed #1336: HelloCocosBuilder/HelloCocosBuilderLayer.cpp
This commit is contained in:
parent
d3d3288e09
commit
2af75ecd65
|
@ -47,7 +47,7 @@ void HelloCocosBuilderLayer::openTest(const char * pCCBFileName, const char * pC
|
|||
|
||||
this->mTestTitleLabelTTF->setString(pCCBFileName);
|
||||
|
||||
CCScene * scene = CCScene::node();
|
||||
CCScene * scene = CCScene::create();
|
||||
if(node != NULL) {
|
||||
scene->addChild(node);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue