diff options
| author | Perttu Ahola <celeron55@gmail.com> | 2010-12-21 18:08:24 +0200 |
|---|---|---|
| committer | Perttu Ahola <celeron55@gmail.com> | 2010-12-21 18:08:24 +0200 |
| commit | 3f5bad938a3fcb601ad41924a4707476b8b87241 (patch) | |
| tree | ddf9d7d49a93c092c31fcbdd6bf1c2ad42e43bc8 /src/map.h | |
| parent | 3b0bff2f743a3abf100368f94efafa7c2843a9b7 (diff) | |
| download | dragonfireclient-3f5bad938a3fcb601ad41924a4707476b8b87241.tar.xz | |
organizing stuff.
Diffstat (limited to 'src/map.h')
| -rw-r--r-- | src/map.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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); |
