summaryrefslogtreecommitdiffstats
path: root/game/client/sound_emitter.cc
diff options
context:
space:
mode:
authoruntodesu <kirill@untode.su>2025-06-25 00:44:36 +0500
committeruntodesu <kirill@untode.su>2025-06-25 00:44:36 +0500
commit88c01588aa0830e219eaa62588839e4d1e2883ce (patch)
tree602bb27dd3399aab4aae8c19630e3b7a8dac824b /game/client/sound_emitter.cc
parent99cf6cca8dbbc1e563c10cf0167432d3d8af9783 (diff)
downloadvoxelius-88c01588aa0830e219eaa62588839e4d1e2883ce.tar.bz2
voxelius-88c01588aa0830e219eaa62588839e4d1e2883ce.zip
Clang-format the entire source code
Diffstat (limited to 'game/client/sound_emitter.cc')
-rw-r--r--game/client/sound_emitter.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/game/client/sound_emitter.cc b/game/client/sound_emitter.cc
index 441ca17..fd58c50 100644
--- a/game/client/sound_emitter.cc
+++ b/game/client/sound_emitter.cc
@@ -1,4 +1,5 @@
#include "client/pch.hh"
+
#include "client/sound_emitter.hh"
#include "core/config.hh"
@@ -30,7 +31,7 @@ void SoundEmitterComponent::update(void)
if(globals::dimension) {
const auto view = globals::dimension->entities.view<SoundEmitterComponent>();
- const auto &pivot = camera::position_chunk;
+ const auto& pivot = camera::position_chunk;
const auto gain = cxpr::clamp(sound::volume_effects.get_value() * 0.01f, 0.0f, 1.0f);
for(const auto [entity, emitter] : view.each()) {