diff options
Diffstat (limited to 'src/content_cao.cpp')
-rw-r--r-- | src/content_cao.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/content_cao.cpp b/src/content_cao.cpp index 2d43f4b3c..2e9f8f39d 100644 --- a/src/content_cao.cpp +++ b/src/content_cao.cpp @@ -874,7 +874,7 @@ void GenericCAO::step(float dtime, ClientEnvironment *env) if (m_step_distance_counter > 1.5f * BS) { m_step_distance_counter = 0.0f; if (!m_is_local_player && m_prop.makes_footstep_sound) { - INodeDefManager *ndef = m_client->ndef(); + const NodeDefManager *ndef = m_client->ndef(); v3s16 p = floatToInt(getPosition() + v3f(0.0f, (m_prop.collisionbox.MinEdge.Y - 0.5f) * BS, 0.0f), BS); MapNode n = m_env->getMap().getNodeNoEx(p); |