From 3f5bad938a3fcb601ad41924a4707476b8b87241 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Tue, 21 Dec 2010 18:08:24 +0200 Subject: organizing stuff. --- src/map.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/map.h') diff --git a/src/map.h b/src/map.h index 3b34cd899..2a3fa5061 100644 --- a/src/map.h +++ b/src/map.h @@ -274,7 +274,8 @@ public: // Returns InvalidPositionException if not found MapBlock * getBlockNoCreate(v3s16 p); - //virtual MapBlock * getBlock(v3s16 p, bool generate=true); + // Returns NULL if not found + MapBlock * getBlockNoCreateNoEx(v3s16 p); // Returns InvalidPositionException if not found f32 getGroundHeight(v2s16 p, bool generate=false); @@ -386,7 +387,7 @@ public: #endif /* - Takes the blocks at the leading edges into account + Takes the blocks at the edges into account */ bool dayNightDiffed(v3s16 blockpos); -- cgit v1.2.3