From 721401f85a6b51448ce3a3034bf508aac68b8f01 Mon Sep 17 00:00:00 2001 From: Alug Date: Fri, 4 Apr 2025 18:13:31 +0200 Subject: [PATCH] delet that egg --- src/s_sound.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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;