diff options
Diffstat (limited to 'game/client/sound_emitter.cc')
| -rw-r--r-- | game/client/sound_emitter.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/game/client/sound_emitter.cc b/game/client/sound_emitter.cc index fd58c50..9b84df2 100644 --- a/game/client/sound_emitter.cc +++ b/game/client/sound_emitter.cc @@ -32,7 +32,7 @@ void SoundEmitterComponent::update(void) const auto view = globals::dimension->entities.view<SoundEmitterComponent>(); const auto& pivot = camera::position_chunk; - const auto gain = cxpr::clamp(sound::volume_effects.get_value() * 0.01f, 0.0f, 1.0f); + const auto gain = vx::clamp(sound::volume_effects.get_value() * 0.01f, 0.0f, 1.0f); for(const auto [entity, emitter] : view.each()) { alSourcef(emitter.source, AL_GAIN, gain); |
