aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-07-24 12:13:51 +0300
committerPerttu Ahola <celeron55@gmail.com>2011-07-24 12:13:51 +0300
commit20fa7412c8bedcc227b95e91eedba436001da755 (patch)
tree1b5803a73f1b3e5714254d6b8b22edab6e033962 /src
parentd099165271f817fbd88ebfd37a8b0ff0bdb41c29 (diff)
downloadminetest-20fa7412c8bedcc227b95e91eedba436001da755.tar.gz
minetest-20fa7412c8bedcc227b95e91eedba436001da755.tar.bz2
minetest-20fa7412c8bedcc227b95e91eedba436001da755.zip
and now fixed a bug in removing that debug output
Diffstat (limited to 'src')
-rw-r--r--src/map.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map.cpp b/src/map.cpp
index 07ad08dcb..830627066 100644
--- a/src/map.cpp
+++ b/src/map.cpp
@@ -2012,6 +2012,7 @@ ServerMap::~ServerMap()
void ServerMap::initBlockMake(mapgen::BlockMakeData *data, v3s16 blockpos)
{
+ bool enable_mapgen_debug_info = g_settings.getBool("enable_mapgen_debug_info");
if(enable_mapgen_debug_info)
dstream<<"initBlockMake(): ("<<blockpos.X<<","<<blockpos.Y<<","
<<blockpos.Z<<")"<<std::endl;