From 9aeaeacae013246a2e22fdb873f6912d5460bf30 Mon Sep 17 00:00:00 2001 From: NepDisk Date: Mon, 8 Dec 2025 10:15:04 -0500 Subject: [PATCH] Use hex for SFX freeslot names Thanks indev for this fix in neptune --- src/sounds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sounds.c b/src/sounds.c index 474a64212..14557ba07 100644 --- a/src/sounds.c +++ b/src/sounds.c @@ -75,7 +75,7 @@ void S_InitRuntimeSounds (void) if (i >= sfx_freeslot0) { value = (i+1) - sfx_freeslot0; - sprintf(soundname, value < 1000 ? "fre%03d" : value < 10000 ? "fr%d" : "f%d", value); + sprintf(soundname, "fr%04x", value); strcpy(soundnames[i], soundname); }