We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b33e290 commit d5a95edCopy full SHA for d5a95ed
src/object/ambient_sound.cpp
@@ -149,7 +149,7 @@ AmbientSound::start_playing()
149
150
sound_source->set_gain(0);
151
sound_source->set_looping(true);
152
- sound_source->set_relative(true);
+ sound_source->set_position(m_col.m_bbox.get_middle());
153
currentvolume=targetvolume=1e-20f;
154
sound_source->play();
155
} catch(std::exception& e) {
0 commit comments