init "lenght" in S_AddSoundFx

seems like this never init this lel
This commit is contained in:
Alug committed 2025-08-01 03:58:41 +02:00
1 parent b391e763bc
commit 53bc12baad
1 file changed
+1
+1
View File
@@ -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;