From: Perttu Ahola Date: Sat, 8 Jan 2011 12:08:48 +0000 (+0200) Subject: Made dungeons a bit rarer X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=426c206d7e08ac4c5b45ec51450d02aa26b8eebd;p=zefram%2Fminetest%2Fminetest_engine.git Made dungeons a bit rarer --- diff --git a/src/map.cpp b/src/map.cpp index 71d73b17..4780bf4e 100644 --- a/src/map.cpp +++ b/src/map.cpp @@ -1703,89 +1703,6 @@ MapBlock * ServerMap::emergeBlock( block->unDummify(); } -#if 0 - /* - Initialize dungeon making by creating a random table - */ - const s32 ued_max = 5; - const s32 ued_min = 3; - bool underground_emptiness[ued_max*ued_max*ued_max]; - s32 ued = (myrand()%(ued_max-ued_min+1))+1; - //s32 ued = ued_max; - for(s32 i=0; i