summaryrefslogtreecommitdiffstats
path: root/game/client/resource/sound_effect.cc
diff options
context:
space:
mode:
Diffstat (limited to 'game/client/resource/sound_effect.cc')
-rw-r--r--game/client/resource/sound_effect.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/game/client/resource/sound_effect.cc b/game/client/resource/sound_effect.cc
index e3a0a6a..0d987a5 100644
--- a/game/client/resource/sound_effect.cc
+++ b/game/client/resource/sound_effect.cc
@@ -17,7 +17,8 @@ static drwav_bool32 drwav_seek_physfs(void* file, int offset, drwav_seek_origin
{
if(origin == drwav_seek_origin_current) {
return PHYSFS_seek(reinterpret_cast<PHYSFS_File*>(file), PHYSFS_tell(reinterpret_cast<PHYSFS_File*>(file)) + offset);
- } else {
+ }
+ else {
return PHYSFS_seek(reinterpret_cast<PHYSFS_File*>(file), offset);
}
}
@@ -84,7 +85,8 @@ void resource::hard_cleanup<SoundEffect>(void)
for(const auto& it : resource_map) {
if(it.second.use_count() > 1L) {
spdlog::warn("resource: zombie resource [SoundEffect] {} [use_count={}]", it.first, it.second.use_count());
- } else {
+ }
+ else {
spdlog::debug("resource: releasing [SoundEffect] {}", it.first);
}