summaryrefslogtreecommitdiff
path: root/src/mapblock.h
diff options
context:
space:
mode:
authorrubenwardy <rw@rubenwardy.com>2021-01-22 15:09:26 +0000
committerGitHub <noreply@github.com>2021-01-22 15:09:26 +0000
commit4c76239818f5159314f30883f98b977d30aaa26c (patch)
tree42d2fc37b1e5ed2ad1c450a5547fce2ddec75b65 /src/mapblock.h
parent67aa75d444d0e5cfff2728dbbcffd6f95b2fe88b (diff)
downloadminetest-4c76239818f5159314f30883f98b977d30aaa26c.tar.gz
minetest-4c76239818f5159314f30883f98b977d30aaa26c.tar.bz2
minetest-4c76239818f5159314f30883f98b977d30aaa26c.zip
Remove dead code (#10845)
Diffstat (limited to 'src/mapblock.h')
-rw-r--r--src/mapblock.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/mapblock.h b/src/mapblock.h
index 641a1b69b..7b82301e9 100644
--- a/src/mapblock.h
+++ b/src/mapblock.h
@@ -340,15 +340,6 @@ public:
// is not valid on this MapBlock.
bool isValidPositionParent(v3s16 p);
MapNode getNodeParent(v3s16 p, bool *is_valid_position = NULL);
- void setNodeParent(v3s16 p, MapNode & n);
-
- inline void drawbox(s16 x0, s16 y0, s16 z0, s16 w, s16 h, s16 d, MapNode node)
- {
- for (u16 z = 0; z < d; z++)
- for (u16 y = 0; y < h; y++)
- for (u16 x = 0; x < w; x++)
- setNode(x0 + x, y0 + y, z0 + z, node);
- }
// Copies data to VoxelManipulator to getPosRelative()
void copyTo(VoxelManipulator &dst);