From 2af75ecd65886a5e5f28d6a7651240ea3417299c Mon Sep 17 00:00:00 2001 From: James Chen Date: Wed, 20 Jun 2012 12:08:34 +0800 Subject: [PATCH] fixed #1336: HelloCocosBuilder/HelloCocosBuilderLayer.cpp --- .../HelloCocosBuilder/HelloCocosBuilderLayer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/tests/ExtensionsTest/CocosBuilderTest/HelloCocosBuilder/HelloCocosBuilderLayer.cpp b/tests/tests/ExtensionsTest/CocosBuilderTest/HelloCocosBuilder/HelloCocosBuilderLayer.cpp index 8faedee59f..f625e0578d 100644 --- a/tests/tests/ExtensionsTest/CocosBuilderTest/HelloCocosBuilder/HelloCocosBuilderLayer.cpp +++ b/tests/tests/ExtensionsTest/CocosBuilderTest/HelloCocosBuilder/HelloCocosBuilderLayer.cpp @@ -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); }