diff options
Diffstat (limited to 'src/gameplay.cpp')
-rw-r--r-- | src/gameplay.cpp | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/src/gameplay.cpp b/src/gameplay.cpp index e9d0a74..3b13dfe 100644 --- a/src/gameplay.cpp +++ b/src/gameplay.cpp @@ -64,22 +64,16 @@ void initEverything(void){ */ player=new Player(); - player->spawn(0,5000); + player->spawn(0,200); /* * Create a structure (this will create villagers when spawned). */ - currentWorld->addStructure(STRUCTURET,(rand()%120*HLINE),10); - - /* - * Generate an indoor world and link the structure to it. - */ - IndoorWorld *iw=new IndoorWorld(); iw->generate(200); - currentWorld->build.back()->inside=iw; - + currentWorld->addStructure(STRUCTURET,(rand()%120*HLINE),10,iw); + /* * Spawn a mob. */ |