diff options
Diffstat (limited to 'src/gameplay.cpp')
-rw-r--r-- | src/gameplay.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gameplay.cpp b/src/gameplay.cpp index b32d9ee..39d0675 100644 --- a/src/gameplay.cpp +++ b/src/gameplay.cpp @@ -40,7 +40,7 @@ void initEverything(void){ * Load the saved world if it exists, otherwise generate a new one. */ - FILE *worldLoad; + /*FILE *worldLoad; if((worldLoad=fopen("world.dat","r"))){ std::cout<<"Yes"<<std::endl; char *buf; @@ -51,10 +51,10 @@ void initEverything(void){ buf=(char *)malloc(size); fread(buf,1,size,worldLoad); test->load(buf); - }else{ + }else{*/ test->generate(SCREEN_WIDTH * 2); test->addHole(100,150); - } + //} test->addLayer(400); |