- len = dpsnprintf (namebuffer, sizeof(namebuffer), "%s", sfx->name);
- if (len < 0)
- {
- // name too long
- Con_DPrintf("S_LoadSound: name \"%s\" is too long\n", sfx->name);
- return false;
- }
- if (S_LoadWavFile (namebuffer, sfx))
- return true;
+ dpsnprintf (namebuffer, sizeof(namebuffer), "%s", sfx->name);
+ len = strlen(namebuffer);
+ // request foo.wav: tries foo.wav, then foo.ogg
+ // request foo.ogg: tries foo.ogg only
+ // request foo.mod: tries foo.mod only