More codec loader troubles with extensions

This commit is contained in:
Thilo Schulz 2011-05-12 12:25:36 +00:00
parent 68338a8268
commit 59271903a2
3 changed files with 3 additions and 3 deletions

View file

@ -90,7 +90,7 @@ static void *S_CodecGetSound(const char *filename, snd_info_t *info)
if( codec == orgCodec )
continue;
Com_sprintf( altName, sizeof (altName), "%s%s", localName, codec->ext );
Com_sprintf( altName, sizeof (altName), "%s.%s", localName, codec->ext );
// Load
if( info )