summaryrefslogtreecommitdiff
path: root/src/mapblock.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mapblock.h')
-rw-r--r--src/mapblock.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/mapblock.h b/src/mapblock.h
index c18bbb2b4..76465903b 100644
--- a/src/mapblock.h
+++ b/src/mapblock.h
@@ -288,11 +288,7 @@ public:
u8 getFaceLight(v3s16 p, v3s16 face_dir);
- /*
- Gets node material from any place relative to block.
- Returns MATERIAL_AIR if doesn't exist.
- */
- u8 getNodeMaterial(v3s16 p);
+ u8 getNodeTile(v3s16 p);
/*
startpos:
@@ -376,6 +372,9 @@ public:
m_objects.getObjects(origin, max_d, dest);
}
+ /*void getPseudoObjects(v3f origin, f32 max_d,
+ core::array<DistanceSortedObject> &dest);*/
+
s32 getObjectCount()
{
return m_objects.getCount();