Use hex for SFX freeslot names

Thanks indev for this fix in neptune
This commit is contained in:
NepDisk 2025-12-08 10:15:04 -05:00
parent e66c24d584
commit 9aeaeacae0

View file

@ -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);
}