and now fixed a bug in removing that debug output

This commit is contained in:
Perttu Ahola 2011-07-24 12:13:51 +03:00
parent d099165271
commit 20fa7412c8
1 changed files with 1 additions and 0 deletions

View 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;