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