diff --git a/Source/s_sound.c b/Source/s_sound.c index a5a2c6f5..525ded01 100644 --- a/Source/s_sound.c +++ b/Source/s_sound.c @@ -290,6 +290,10 @@ void S_StartSound(const mobj_t *origin, int sfx_id) if(!snd_card || nosfxparm) return; + // [FG] ignore request to play no sound + if(sfx_id == sfx_None) + return; + #ifdef RANGECHECK // check for bogus sound # if(sfx_id < 1 || sfx_id > NUMSFX)