projects
/
zefram
/
minetest
/
minetest_engine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29d905f
)
removed a remaining debug print
author
Perttu Ahola
<celeron55@gmail.com>
Sun, 24 Jul 2011 09:12:55 +0000
(12:12 +0300)
committer
Perttu Ahola
<celeron55@gmail.com>
Sun, 24 Jul 2011 09:12:55 +0000
(12:12 +0300)
src/map.cpp
patch
|
blob
|
history
diff --git
a/src/map.cpp
b/src/map.cpp
index b205d9918d88bbeba8488bcce7dc52a5aea01863..07ad08dcb570bd413def9e3c0e53e3d49189a90d 100644
(file)
--- 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)) ||