aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 67ba8a6..8768edd 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -93,6 +93,8 @@ int main(int argc,char **argv){
w=new World(2,NULL,w2);
currentWorld=w;
+ currentWorld->addLayer();
+ currentWorld->setRoot();
// Save the world if necessary
/*FILE *f=fopen("world.dat","r");