diff options
author | Jozef Behran <jozuejozef@gmail.com> | 2019-08-10 19:45:44 +0200 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2019-08-10 19:45:44 +0200 |
commit | 86d7f84b899a507e979f1845f2057cce6f84e743 (patch) | |
tree | ec2d965d61bd639fe879f971b98e30bccab63b52 /src/mapblock.cpp | |
parent | 291e7730cf24ba5081f10b5ddbf2494951333827 (diff) | |
download | minetest-86d7f84b899a507e979f1845f2057cce6f84e743.tar.gz minetest-86d7f84b899a507e979f1845f2057cce6f84e743.tar.bz2 minetest-86d7f84b899a507e979f1845f2057cce6f84e743.zip |
Merge pull request #8776 from osjc/FixGetNode
Finish getNode cleanup
Diffstat (limited to 'src/mapblock.cpp')
-rw-r--r-- | src/mapblock.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mapblock.cpp b/src/mapblock.cpp index 0996dd168..5b755b7a6 100644 --- a/src/mapblock.cpp +++ b/src/mapblock.cpp @@ -100,7 +100,7 @@ bool MapBlock::isValidPositionParent(v3s16 p) MapNode MapBlock::getNodeParent(v3s16 p, bool *is_valid_position) { if (!isValidPosition(p)) - return m_parent->getNodeNoEx(getPosRelative() + p, is_valid_position); + return m_parent->getNode(getPosRelative() + p, is_valid_position); if (!data) { if (is_valid_position) |