diff options
Diffstat (limited to 'src/content_cao.cpp')
-rw-r--r-- | src/content_cao.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/content_cao.cpp b/src/content_cao.cpp index 1bb24aa88..c5cb1e21a 100644 --- a/src/content_cao.cpp +++ b/src/content_cao.cpp @@ -1583,6 +1583,10 @@ void GenericCAO::processMessage(const std::string &data) m_initial_tx_basepos_set = true; m_tx_basepos = m_prop.initial_sprite_basepos; } + if (m_is_local_player) { + LocalPlayer *player = m_env->getLocalPlayer(); + player->makes_footstep_sound = m_prop.makes_footstep_sound; + } if ((m_is_player && !m_is_local_player) && m_prop.nametag == "") m_prop.nametag = m_name; |