From 53bc12baad13099d5f0bc697137caaac788e44fe Mon Sep 17 00:00:00 2001 From: Alug Date: Fri, 1 Aug 2025 03:58:32 +0200 Subject: [PATCH] init "lenght" in S_AddSoundFx seems like this never init this lel --- src/sounds.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/sounds.c b/src/sounds.c index bdfc19b86..7ef7c6b4f 100644 --- a/src/sounds.c +++ b/src/sounds.c @@ -1030,6 +1030,7 @@ sfxenum_t S_AddSoundFx(const char *name, boolean singular, INT32 flags, boolean S_sfx[i].pitch = flags; S_sfx[i].volume = -1; S_sfx[i].lumpnum = LUMPERROR; + S_sfx[i].length = 0; S_sfx[i].skinsound = -1; S_sfx[i].usefulness = -1;