diff options
author | SmallJoker <SmallJoker@users.noreply.github.com> | 2021-10-12 20:12:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-12 20:12:20 +0200 |
commit | ecc6f4ba25cd49599922333a5f8d4b4ce368992d (patch) | |
tree | 9e54d0968bde5faf2f1870c5c806fa30521a695d /src/map.cpp | |
parent | 6de8d77e17017cd5cc7b065d42566b6b1cd076cc (diff) | |
download | minetest-ecc6f4ba25cd49599922333a5f8d4b4ce368992d.tar.xz |
Remove a few unused functions reported by callcatcher (#11658)
Diffstat (limited to 'src/map.cpp')
-rw-r--r-- | src/map.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/map.cpp b/src/map.cpp index 30ce064d6..77031e17d 100644 --- a/src/map.cpp +++ b/src/map.cpp @@ -139,13 +139,6 @@ MapBlock * Map::getBlockNoCreate(v3s16 p3d) return block; } -bool Map::isNodeUnderground(v3s16 p) -{ - v3s16 blockpos = getNodeBlockPos(p); - MapBlock *block = getBlockNoCreateNoEx(blockpos); - return block && block->getIsUnderground(); -} - bool Map::isValidPosition(v3s16 p) { v3s16 blockpos = getNodeBlockPos(p); |