diff options
author | Perttu Ahola <celeron55@gmail.com> | 2011-07-24 12:13:51 +0300 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-07-24 12:13:51 +0300 |
commit | 20fa7412c8bedcc227b95e91eedba436001da755 (patch) | |
tree | 1b5803a73f1b3e5714254d6b8b22edab6e033962 | |
parent | d099165271f817fbd88ebfd37a8b0ff0bdb41c29 (diff) | |
download | minetest-20fa7412c8bedcc227b95e91eedba436001da755.tar.gz minetest-20fa7412c8bedcc227b95e91eedba436001da755.tar.bz2 minetest-20fa7412c8bedcc227b95e91eedba436001da755.zip |
and now fixed a bug in removing that debug output
-rw-r--r-- | src/map.cpp | 1 |
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; |