summarylogtreecommitdiffstats
path: root/HelloWorldScene.cpp.patch
diff options
context:
space:
mode:
authorWilson E. Alvarez2017-04-21 07:38:17 -0400
committerWilson E. Alvarez2017-04-21 07:38:17 -0400
commitd8e7f35d57d791095fbbcff0567165e2ea443266 (patch)
tree7f546723cc214754bee560615add51200b87c18b /HelloWorldScene.cpp.patch
parent07815f4f1f5aa03b20118a3f8348f471293b6f85 (diff)
downloadaur-d8e7f35d57d791095fbbcff0567165e2ea443266.tar.gz
cocos2d-x V3.15
Diffstat (limited to 'HelloWorldScene.cpp.patch')
-rw-r--r--HelloWorldScene.cpp.patch30
1 files changed, 0 insertions, 30 deletions
diff --git a/HelloWorldScene.cpp.patch b/HelloWorldScene.cpp.patch
deleted file mode 100644
index 4ab4c048a583..000000000000
--- a/HelloWorldScene.cpp.patch
+++ /dev/null
@@ -1,30 +0,0 @@
---- HelloWorldScene.cpp 2016-12-21 13:43:14.000000000 -0400
-+++ /opt/cocos2d-x-git/templates/cpp-template-default/Classes/HelloWorldScene.cpp 2017-01-04 12:22:47.004282988 -0400
-@@ -5,17 +5,7 @@
-
- Scene* HelloWorld::createScene()
- {
-- // 'scene' is an autorelease object
-- auto scene = Scene::create();
--
-- // 'layer' is an autorelease object
-- auto layer = HelloWorld::create();
--
-- // add layer as a child to scene
-- scene->addChild(layer);
--
-- // return the scene
-- return scene;
-+ return HelloWorld::create();
- }
-
- // on "init" you need to initialize your instance
-@@ -23,7 +13,7 @@
- {
- //////////////////////////////
- // 1. super init first
-- if ( !Layer::init() )
-+ if ( !Scene::init() )
- {
- return false;
- }