diff --git a/src/s_sound.c b/src/s_sound.c index d5805b549..69d9c6db1 100644 --- a/src/s_sound.c +++ b/src/s_sound.c @@ -509,10 +509,14 @@ void S_StartSoundAtVolume(const void *origin_p, sfxenum_t sfx_id, INT32 volume) if (sfx->skinsound != -1 && origin && origin->skin) { // redirect player sound to the sound in the skin table - sfx_id = ((skin_t *)( (origin->localskin) ? origin->localskin : origin->skin ))->soundsid[sfx->skinsound]; + sfx_id = ((skin_t *)(origin->localskin ? origin->localskin : origin->skin))->soundsid[sfx->skinsound]; sfx = &S_sfx[sfx_id]; } + // i seriously get an aneurism by this shitty egg + if (strncmp(sfx->name, "DNLT", 4) == 0) + return; + // Initialize sound parameters pitch = NORM_PITCH; priority = NORM_PRIORITY;