diff options
Diffstat (limited to 'src/content_cao.cpp')
-rw-r--r-- | src/content_cao.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/content_cao.cpp b/src/content_cao.cpp index c5cb1e21a..d18a0233f 100644 --- a/src/content_cao.cpp +++ b/src/content_cao.cpp @@ -1585,7 +1585,13 @@ void GenericCAO::processMessage(const std::string &data) } if (m_is_local_player) { LocalPlayer *player = m_env->getLocalPlayer(); + player->makes_footstep_sound = m_prop.makes_footstep_sound; + + aabb3f collisionbox = m_selection_box; + collisionbox.MinEdge += v3f(0, BS, 0); + collisionbox.MaxEdge += v3f(0, BS, 0); + player->setCollisionbox(collisionbox); } if ((m_is_player && !m_is_local_player) && m_prop.nametag == "") |