From 426c206d7e08ac4c5b45ec51450d02aa26b8eebd Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Sat, 8 Jan 2011 14:08:48 +0200 Subject: Made dungeons a bit rarer --- src/map.cpp | 159 +++++++++++++++++------------------------------------------- 1 file changed, 44 insertions(+), 115 deletions(-) (limited to 'src/map.cpp') diff --git a/src/map.cpp b/src/map.cpp index 71d73b179..4780bf4ec 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