and now fixed a bug in removing that debug output
authorPerttu Ahola <celeron55@gmail.com>
Sun, 24 Jul 2011 09:13:51 +0000 (12:13 +0300)
committerPerttu Ahola <celeron55@gmail.com>
Sun, 24 Jul 2011 09:13:51 +0000 (12:13 +0300)
src/map.cpp

index 07ad08dcb570bd413def9e3c0e53e3d49189a90d..83062706694022984f5ae077c86d29e9c6c1c11b 100644 (file)
@@ -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;