1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

c55sound continued

This commit is contained in:
Perttu Ahola 2012-03-23 15:29:30 +02:00
parent 0ac2ce7dea
commit 8c2f3bb378
9 changed files with 266 additions and 52 deletions

View file

@ -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;
}