diff options
author | HappyDOGE <28511119+HappyDOGE@users.noreply.github.com> | 2022-01-04 21:05:32 +0300 |
---|---|---|
committer | HappyDOGE <28511119+HappyDOGE@users.noreply.github.com> | 2022-01-04 21:05:32 +0300 |
commit | 4f0e396e9774dad1eb03aa54f65c64da4b0e3a60 (patch) | |
tree | 58da1100ac7f066acd9f4981fb31827f73623894 /NorthstarDedicatedTest | |
parent | 3094160973554ee0a83ab819576a45c088d3a527 (diff) | |
download | NorthstarLauncher-4f0e396e9774dad1eb03aa54f65c64da4b0e3a60.tar.gz NorthstarLauncher-4f0e396e9774dad1eb03aa54f65c64da4b0e3a60.zip |
fix the beforementioned sound check
Diffstat (limited to 'NorthstarDedicatedTest')
-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 a0f9d047..f5767386 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_") || !strstr(eventName, "amb_")) + if (!!strstr(eventName, "_amb_") || !!strstr(eventName, "_emit_") || !!strstr(eventName, "amb_")) return false; // would play static noise, I hate this } } |