diff options
author | HappyDOGE <28511119+HappyDOGE@users.noreply.github.com> | 2022-01-04 21:03:49 +0300 |
---|---|---|
committer | HappyDOGE <28511119+HappyDOGE@users.noreply.github.com> | 2022-01-04 21:03:49 +0300 |
commit | 3094160973554ee0a83ab819576a45c088d3a527 (patch) | |
tree | bcc6e6ca242bd865ba3e859effe8f78a4bc35855 /NorthstarDedicatedTest/audio.cpp | |
parent | 1e65bc16915a6dc72b7d63db20742bca6f7faf22 (diff) | |
download | NorthstarLauncher-3094160973554ee0a83ab819576a45c088d3a527.tar.gz NorthstarLauncher-3094160973554ee0a83ab819576a45c088d3a527.zip |
add a missing bad sound check
Diffstat (limited to 'NorthstarDedicatedTest/audio.cpp')
-rw-r--r-- | NorthstarDedicatedTest/audio.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/NorthstarDedicatedTest/audio.cpp b/NorthstarDedicatedTest/audio.cpp index 51b74af6..a0f9d047 100644 --- a/NorthstarDedicatedTest/audio.cpp +++ b/NorthstarDedicatedTest/audio.cpp @@ -313,7 +313,7 @@ bool ShouldPlayAudioEvent(const char* eventName, const std::shared_ptr<EventOver { // check for bad sounds I guess? // really feel like this should be an option but whatever - if (!!strstr(eventName, "_amb_") || !!strstr(eventName, "_emit_")) + if (!!strstr(eventName, "_amb_") || !!strstr(eventName, "_emit_") || !strstr(eventName, "amb_")) return false; // would play static noise, I hate this } } |