diff options
author | hop311 <hop3114@gmail.com> | 2024-08-11 00:40:07 +0200 |
---|---|---|
committer | hop311 <hop3114@gmail.com> | 2024-08-14 00:07:46 +0200 |
commit | 7e05aaccf0e13299702ddeed17661831c3ddc692 (patch) | |
tree | b85022a240a4a24c0ee0fd44cd59ff6bc112c18f /src/openvic-simulation/misc/SoundEffect.cpp | |
parent | 9f9c5844bfedc5e366a35cdba386027fb9f3a14a (diff) |
Assorted minor fixes (clang-format.sh shebang, parse national foci scripts, factor song chance, update openvic-dataloader)assorted-fixes
Diffstat (limited to 'src/openvic-simulation/misc/SoundEffect.cpp')
-rw-r--r-- | src/openvic-simulation/misc/SoundEffect.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/openvic-simulation/misc/SoundEffect.cpp b/src/openvic-simulation/misc/SoundEffect.cpp index df3196b..b32d353 100644 --- a/src/openvic-simulation/misc/SoundEffect.cpp +++ b/src/openvic-simulation/misc/SoundEffect.cpp @@ -20,7 +20,7 @@ bool SoundEffectManager::_load_sound_define(std::string_view sfx_identifier, ast Logger::error("Invalid sound identifier - empty!"); return false; } - if(file.empty()) { + if (file.empty()) { Logger::error("Invalid sound file name - empty!"); return false; } @@ -35,4 +35,4 @@ bool SoundEffectManager::load_sound_defines_file(ast::NodeCPtr root) { return _load_sound_define(key,value); } )(root); -}
\ No newline at end of file +} |