diff options
Diffstat (limited to 'src/client/camera.cpp')
-rw-r--r-- | src/client/camera.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/camera.cpp b/src/client/camera.cpp index 1bbdb56ea..7e953d4c7 100644 --- a/src/client/camera.cpp +++ b/src/client/camera.cpp @@ -412,7 +412,7 @@ void Camera::update(LocalPlayer* player, f32 frametime, f32 busytime, f32 tool_r // Prevent camera positioned inside nodes const NodeDefManager *nodemgr = m_client->ndef(); MapNode n = m_client->getEnv().getClientMap() - .getNodeNoEx(floatToInt(my_cp, BS)); + .getNode(floatToInt(my_cp, BS)); const ContentFeatures& features = nodemgr->get(n); if (features.walkable) { |