From 860f6f3b1dd467a18e23c621ba2aa94d80d98a98 Mon Sep 17 00:00:00 2001 From: ceski <56656010+ceski-1@users.noreply.github.com> Date: Thu, 23 Nov 2023 09:45:28 -0800 Subject: [PATCH] strife: Restore assault rifle PC speaker sound When "misc. sound fixes" is on. --- src/i_pcsound.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/i_pcsound.c b/src/i_pcsound.c index b4249c2c94..78dc755df5 100644 --- a/src/i_pcsound.c +++ b/src/i_pcsound.c @@ -18,6 +18,7 @@ #include "SDL.h" #include +#include "crispy.h" #include "doomtype.h" #include "deh_str.h" @@ -161,6 +162,12 @@ static boolean IsDisabledSound(sfxinfo_t *sfxinfo) "rifle", }; + // [crispy] Restore missing assault rifle PC speaker sound. + if (gamemission == strife && crispy->soundfix) + { + return false; + } + for (i=0; iname, disabled_sounds[i]))