removed a remaining debug print
authorPerttu Ahola <celeron55@gmail.com>
Sun, 24 Jul 2011 09:12:55 +0000 (12:12 +0300)
committerPerttu Ahola <celeron55@gmail.com>
Sun, 24 Jul 2011 09:12:55 +0000 (12:12 +0300)
src/map.cpp

index b205d9918d88bbeba8488bcce7dc52a5aea01863..07ad08dcb570bd413def9e3c0e53e3d49189a90d 100644 (file)
@@ -2012,8 +2012,9 @@ ServerMap::~ServerMap()
 
 void ServerMap::initBlockMake(mapgen::BlockMakeData *data, v3s16 blockpos)
 {
-       dstream<<"initBlockMake(): ("<<blockpos.X<<","<<blockpos.Y<<","
-                       <<blockpos.Z<<")"<<std::endl;
+       if(enable_mapgen_debug_info)
+               dstream<<"initBlockMake(): ("<<blockpos.X<<","<<blockpos.Y<<","
+                               <<blockpos.Z<<")"<<std::endl;
        
        // Do nothing if not inside limits (+-1 because of neighbors)
        if(blockpos_over_limit(blockpos - v3s16(1,1,1)) ||