mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 16:45:20 +02:00
c55sound continued
This commit is contained in:
@@ -225,11 +225,13 @@ Client::Client(
|
||||
MapDrawControl &control,
|
||||
IWritableTextureSource *tsrc,
|
||||
IWritableItemDefManager *itemdef,
|
||||
IWritableNodeDefManager *nodedef
|
||||
IWritableNodeDefManager *nodedef,
|
||||
ISoundManager *sound
|
||||
):
|
||||
m_tsrc(tsrc),
|
||||
m_itemdef(itemdef),
|
||||
m_nodedef(nodedef),
|
||||
m_sound(sound),
|
||||
m_mesh_update_thread(this),
|
||||
m_env(
|
||||
new ClientMap(this, this, control,
|
||||
@@ -2326,6 +2328,6 @@ u16 Client::allocateUnknownNodeId(const std::string &name)
|
||||
}
|
||||
ISoundManager* Client::getSoundManager()
|
||||
{
|
||||
return &dummySoundManager;
|
||||
return m_sound;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user