Skip to content

Commit

Permalink
strife: Restore assault rifle PC speaker sound (#1114)
Browse files Browse the repository at this point in the history
When "misc. sound fixes" is on.
  • Loading branch information
ceski-1 authored Nov 23, 2023
1 parent bd6043d commit 50f49ed
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/i_pcsound.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#include "SDL.h"
#include <string.h>

#include "crispy.h"
#include "doomtype.h"

#include "deh_str.h"
Expand Down Expand Up @@ -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; i<arrlen(disabled_sounds); ++i)
{
if (!strcmp(sfxinfo->name, disabled_sounds[i]))
Expand Down

0 comments on commit 50f49ed

Please sign in to comment.