summaryrefslogtreecommitdiff
path: root/src/environment.cpp
diff options
context:
space:
mode:
authorJozef Behran <jozuejozef@gmail.com>2019-08-10 19:45:44 +0200
committersfan5 <sfan5@live.de>2019-08-10 19:45:44 +0200
commit86d7f84b899a507e979f1845f2057cce6f84e743 (patch)
treeec2d965d61bd639fe879f971b98e30bccab63b52 /src/environment.cpp
parent291e7730cf24ba5081f10b5ddbf2494951333827 (diff)
downloadminetest-86d7f84b899a507e979f1845f2057cce6f84e743.tar.gz
minetest-86d7f84b899a507e979f1845f2057cce6f84e743.tar.bz2
minetest-86d7f84b899a507e979f1845f2057cce6f84e743.zip
Merge pull request #8776 from osjc/FixGetNode
Finish getNode cleanup
Diffstat (limited to 'src/environment.cpp')
-rw-r--r--src/environment.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/environment.cpp b/src/environment.cpp
index ac7b7ce69..906f35219 100644
--- a/src/environment.cpp
+++ b/src/environment.cpp
@@ -159,7 +159,7 @@ void Environment::continueRaycast(RaycastState *state, PointedThing *result)
v3s16 np(x, y, z);
bool is_valid_position;
- n = map.getNodeNoEx(np, &is_valid_position);
+ n = map.getNode(np, &is_valid_position);
if (!(is_valid_position && isPointableNode(n, nodedef,
state->m_liquids_pointable))) {
continue;