mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 16:45:20 +02:00
Implement minetest.sound_fade()
This commit is contained in:
@@ -55,11 +55,13 @@ Metadata* NodeMetaRef::getmeta(bool auto_create)
|
||||
|
||||
void NodeMetaRef::clearMeta()
|
||||
{
|
||||
SANITY_CHECK(!m_is_local);
|
||||
m_env->getMap().removeNodeMetadata(m_p);
|
||||
}
|
||||
|
||||
void NodeMetaRef::reportMetadataChange(const std::string *name)
|
||||
{
|
||||
SANITY_CHECK(!m_is_local);
|
||||
// NOTE: This same code is in rollback_interface.cpp
|
||||
// Inform other things that the metadata has changed
|
||||
NodeMetadata *meta = dynamic_cast<NodeMetadata*>(m_meta);
|
||||
|
Reference in New Issue
Block a user