aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-07-24 12:12:55 +0300
committerPerttu Ahola <celeron55@gmail.com>2011-07-24 12:12:55 +0300
commitd099165271f817fbd88ebfd37a8b0ff0bdb41c29 (patch)
tree965e938672e7e18ab4a0b1eed0bd4ca9cdf32970 /src
parent29d905f98a8ce7db9ae78a572b51d479f04fb48d (diff)
downloadminetest-d099165271f817fbd88ebfd37a8b0ff0bdb41c29.tar.gz
minetest-d099165271f817fbd88ebfd37a8b0ff0bdb41c29.tar.bz2
minetest-d099165271f817fbd88ebfd37a8b0ff0bdb41c29.zip
removed a remaining debug print
Diffstat (limited to 'src')
-rw-r--r--src/map.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/map.cpp b/src/map.cpp
index b205d9918..07ad08dcb 100644
--- a/src/map.cpp
+++ b/src/map.cpp
@@ -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)) ||