From 6c2abde5c99a236453b795abaa6d7d70105e31f7 Mon Sep 17 00:00:00 2001 From: untodesu Date: Fri, 26 Dec 2025 14:50:33 +0500 Subject: Just a big Ctrl+H refactoring --- src/game/client/sound/sound.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game/client/sound/sound.cc') diff --git a/src/game/client/sound/sound.cc b/src/game/client/sound/sound.cc index 7dfe562..11c9286 100644 --- a/src/game/client/sound/sound.cc +++ b/src/game/client/sound/sound.cc @@ -157,7 +157,7 @@ void sound::play_generic(resource_ptr sound, bool looping, float pi void sound::play_entity(entt::entity entity, resource_ptr sound, bool looping, float pitch) { if(globals::dimension && globals::dimension->entities.valid(entity)) { - if(auto emitter = globals::dimension->entities.try_get(entity)) { + if(auto emitter = globals::dimension->entities.try_get(entity)) { alSourceRewind(emitter->source); emitter->sound = sound; -- cgit