delet that egg

This commit is contained in:
Alug committed 2025-04-04 18:13:31 +02:00
1 parent a4ac85be85
commit 721401f85a
1 file changed
+5 -1
+5 -1
View File
@@ -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;