aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/misc/SoundEffect.cpp
diff options
context:
space:
mode:
author Hop311 <Hop3114@gmail.com>2024-08-14 00:22:01 +0200
committer GitHub <noreply@github.com>2024-08-14 00:22:01 +0200
commit53bf0ac14be0fd7a049306d6e20c01030916fdc6 (patch)
treeb85022a240a4a24c0ee0fd44cd59ff6bc112c18f /src/openvic-simulation/misc/SoundEffect.cpp
parent9f9c5844bfedc5e366a35cdba386027fb9f3a14a (diff)
parent7e05aaccf0e13299702ddeed17661831c3ddc692 (diff)
Merge pull request #185 from OpenVicProject/assorted-fixes
Assorted minor fixes (clang-format.sh shebang, parse national foci sc…
Diffstat (limited to 'src/openvic-simulation/misc/SoundEffect.cpp')
-rw-r--r--src/openvic-simulation/misc/SoundEffect.cpp4
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
+}