Use hex for SFX freeslot names
Thanks indev for this fix in neptune
This commit is contained in:
parent
e66c24d584
commit
9aeaeacae0
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue